Suspicious code in revision 867140 (Part 2)

Thomas McGuire mcguire at kde.org
Sun Oct 5 18:29:33 BST 2008


On Sunday 05 October 2008 19:14:22 Thomas McGuire wrote:
> On Saturday 04 October 2008 12:44:10 Christoph Bartoschek wrote:
> > - kdepim/kmail/kmfolderdir.cpp:288
> >
> > A final else after line 281 would prevent uninitialized folderType here.
>
> Fixed.

Correction: Not fixed, false positive. folderType is only used if folderName 
is not empty (line 287 & 288), and if folderName is assigned, folderType is 
also assigned immediately in the line afterwards (e.g. in line 278 & 279).

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081005/4d14b6fd/attachment.sig>


More information about the kde-core-devel mailing list