[cfe-commits] Null init suggestion

David Blaikie dblaikie at gmail.com
Fri Sep 9 00:19:38 PDT 2011


>
> I like the direction of this patch, but I think that the note text used
> here
>
> note: add initialization to silence this warning
>
> isn't very helpful. If we're only going to print one note, I'd rather it
> say something like
>
> note: initialize the variable 'x' to silence this warning
>

Changed to use this suggested diagnostic message.

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110909/0631d1ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main_diagnostics.patch
Type: application/octet-stream
Size: 18618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110909/0631d1ad/attachment.obj>


More information about the cfe-commits mailing list