Re: Use of uninitialised variable in classdef.cpp:2627
Dimitri van Heesch <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information