[cfe-commits] Null init suggestion

Douglas Gregor dgregor at apple.com
Fri Sep 9 07:46:54 PDT 2011


On Sep 9, 2011, at 12:19 AM, David Blaikie wrote:

> 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.

Looks good! Please go ahead and commit.

	- Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110909/3592df6a/attachment.html>


More information about the cfe-commits mailing list