Makefile: WARNINGS: add -Winit-self
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 29 May 2012 08:48:27 +0000 (10:48 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 29 May 2012 13:19:31 +0000 (15:19 +0200)
commit08f0228c29f0274f1876316a5cb5d1616fdc225a
tree32f9b6b938ca5d2ff5ffe26e09bd70787d364113
parentf7d040628ac93e1f31996054264f1d544a2ae47a
Makefile: WARNINGS: add -Winit-self

-Winit-self (C, C++, Objective-C and Objective-C++ only)
   Warn about uninitialized variables which are initialized
   with themselves.  Note this option can only be used with
   the -Wuninitialized option.

   For example, GCC will warn about "i" being uninitialized
   in the following snippet only when -Winit-self has been
   specified:

           int f()
           {
             int i = i;
             return i;
           }

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile.inc