On Thu, Sep 30, 1999 at 04:01:06PM +0100, Arnd Hanses wrote:
> > Finally we have LyX version 1.0.4 ready.
>
> Small footnotes:
>
> 2. spurious? warning:
> -------
> buffer.C: In method `void Buffer::DocBookHandleFootnote(struct _FILE *,
> class LyXParagraph *&, int)':
> buffer.C:2321: warning: `bool inner_span' might be used uninitialized
> in this function
> buffer.C: In method `void Buffer::makeDocBookFile(const class LString
> &, int)':
> buffer.C:2688: warning: `int command_base' might be used uninitialized
> in this function
> -------
> Did not yet check if this is really possible.
That's my code, and I have checked it now.
That is not possible, those initialization depends on several conditions
that are mutually exclusive, that is, or the variables are initializated or
the variables are used, not both.
As a code style should I initialize that variables to some silly value,
just to silent the warnings?
> Greets,
>
> Arnd
Best regards,
--
José