[Doxygen-develop] Use of uninitialised variable in classdef.cpp:2627
Brought to you by:
dimitri
From: Michael M. <Mic...@tt...> - 2005-10-21 15:39:11
|
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. Cheers, Mike |