On Sun, Aug 05, 2012 at 03:55:37PM +0000, Dimitry Andric wrote: > Author: dim > Date: Sun Aug 5 15:55:36 2012 > New Revision: 239071 > URL: http://svn.freebsd.org/changeset/base/239071 > > Log: > In usr.bin/make/var.c, function ParseModifier(), initialize the 'error' > variable to NULL, to avoid using it uninitialized in certain cases. > > This fixes the following clang 3.2 warning: > > usr.bin/make/var.c:1770:10: error: variable 'error' is used uninitialized > whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] > if (vp->execute) { > ^~~~~~~~~~~
Please wrap your commit messages to less than 80 characters. In fact, including the clang warning does not add any valuable information and should be omitted. -- Steve _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"