mirror of
https://github.com/wfjm/w11.git
synced 2026-04-26 12:18:15 +00:00
coverity: fixed for uninitialized variables
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// $Id: RtclArgs.cpp 983 2018-01-02 20:35:59Z mueller $
|
||||
// $Id: RtclArgs.cpp 1047 2018-09-16 11:08:41Z mueller $
|
||||
//
|
||||
// Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
// Copyright 2011-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
//
|
||||
// This program is free software; you may redistribute and/or modify it under
|
||||
// the terms of the GNU General Public License as published by the Free
|
||||
@@ -13,6 +13,7 @@
|
||||
//
|
||||
// Revision History:
|
||||
// Date Rev Version Comment
|
||||
// 2018-09-16 1047 1.0.9 coverity fixup (uninitialized scalar)
|
||||
// 2014-08-22 584 1.0.8 use nullptr
|
||||
// 2013-05-19 521 1.0.7 add NextSubOpt() method, pass optset's as const
|
||||
// 2013-02-12 487 1.0.6 add CurrentArg() method
|
||||
@@ -93,6 +94,7 @@ RtclArgs::RtclArgs(const RtclArgs& rhs)
|
||||
fObjv(rhs.fObjv),
|
||||
fNDone(rhs.fNDone),
|
||||
fNOptMiss(rhs.fNOptMiss),
|
||||
fNConfigRead(rhs.fNConfigRead),
|
||||
fOptErr(rhs.fOptErr),
|
||||
fArgErr(rhs.fArgErr)
|
||||
{}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// $Id: RtclClassBase.cpp 983 2018-01-02 20:35:59Z mueller $
|
||||
// $Id: RtclClassBase.cpp 1047 2018-09-16 11:08:41Z mueller $
|
||||
//
|
||||
// Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
// Copyright 2011-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
//
|
||||
// This program is free software; you may redistribute and/or modify it under
|
||||
// the terms of the GNU General Public License as published by the Free
|
||||
@@ -13,6 +13,7 @@
|
||||
//
|
||||
// Revision History:
|
||||
// Date Rev Version Comment
|
||||
// 2018-09-16 1047 1.0.5 coverity fixup (uninitialized pointer)
|
||||
// 2014-08-22 584 1.0.4 use nullptr
|
||||
// 2013-02-10 485 1.0.3 add static const defs
|
||||
// 2013-01-13 474 1.0.2 TclClassCmd(): check for existing Rtclproxy names
|
||||
@@ -56,7 +57,8 @@ const int RtclClassBase::kERR;
|
||||
|
||||
RtclClassBase::RtclClassBase(const std::string& type)
|
||||
: fType(type),
|
||||
fInterp(0)
|
||||
fInterp(0),
|
||||
fCmdToken(0)
|
||||
{}
|
||||
|
||||
//------------------------------------------+-----------------------------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// $Id: RtclProxyBase.cpp 983 2018-01-02 20:35:59Z mueller $
|
||||
// $Id: RtclProxyBase.cpp 1047 2018-09-16 11:08:41Z mueller $
|
||||
//
|
||||
// Copyright 2011-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
// Copyright 2011-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
//
|
||||
// This program is free software; you may redistribute and/or modify it under
|
||||
// the terms of the GNU General Public License as published by the Free
|
||||
@@ -13,6 +13,7 @@
|
||||
//
|
||||
// Revision History:
|
||||
// Date Rev Version Comment
|
||||
// 2018-09-16 1047 1.5.1 coverity fixup (uninitialized pointer)
|
||||
// 2017-03-11 859 1.5 adopt new DispatchCmd() logic
|
||||
// 2014-08-22 584 1.4.3 use nullptr
|
||||
// 2013-02-09 485 1.4.2 add CommandName()
|
||||
@@ -54,7 +55,8 @@ typedef std::pair<RtclProxyBase::mmap_it_t, bool> mmap_ins_t;
|
||||
RtclProxyBase::RtclProxyBase(const std::string& type)
|
||||
: RtclCmdBase(),
|
||||
fType(type),
|
||||
fInterp(0)
|
||||
fInterp(0),
|
||||
fCmdToken(0)
|
||||
{}
|
||||
|
||||
//------------------------------------------+-----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user