[Doxygen-develop] Re: Use of uninitialised variable in classdef.cpp:2627
Brought to you by:
dimitri
From: Dimitri v. H. <di...@st...> - 2005-10-23 12:26:14
|
On Fri, Oct 21, 2005 at 04:39:04PM +0100, Michael McTernan wrote: > Hi, > > Another from valgrind and the doxygen-1.4.4-20050815.tar.gz CVS tarball. > > classdef.cpp:50: > > // constructs a new class definition > ClassDef::ClassDef( > const char *defFileName,int defLine, > const char *nm,CompoundType ct, > const char *lref,const char *fName, > bool isSymbol) > : > Definition(defFileName,defLine,removeRedundantWhiteSpace(nm),0,0,isSymbol) > { > m_compType=ct; > QCString compoundName=compoundTypeString(); > > ... > > Unfortunately compoundTypeString() does the following: > > if (m_compType==Interface && m_isObjC) return "class"; > > > Unlike m_compType, m_isObjC hasn't yet been setup. Indeed, will be corrected. Regards, Dimitri |