freebsd-dev/usr.bin/make
Dimitry Andric 30a845609c 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) {
                                              ^~~~~~~~~~~
  usr.bin/make/var.c:1777:10: note: uninitialized use occurs here
                                          if (error)
                                              ^~~~~
  usr.bin/make/var.c:1770:6: note: remove the 'if' if its condition is always true
                                          if (vp->execute) {
                                          ^~~~~~~~~~~~~~~~~
  usr.bin/make/var.c:1768:23: note: initialize the variable 'error' to silence this warning
                                          const char      *error;
                                                                ^
                                                                 = NULL

MFC after:      1 week
2012-08-05 15:55:36 +00:00
..
arch.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
arch.h
buf.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
buf.h
cond.c
cond.h
config.h
dir.c Add ability to search up the directory hierarchy for the system directory. 2010-01-04 18:57:22 +00:00
dir.h Add ability to search up the directory hierarchy for the system directory. 2010-01-04 18:57:22 +00:00
for.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
for.h
globals.h Add missing static keywords to make(1) 2011-11-06 08:16:06 +00:00
GNode.h Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
hash_tables.c
hash_tables.h
hash.c
hash.h
job.c Include target names in diagnostic output. 2012-02-12 05:34:01 +00:00
job.h 1. Add the ability to tweak the token output before targets in job mode. 2008-12-29 10:26:02 +00:00
lst.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
lst.h Remove unnecessary includes. 2009-12-11 23:20:02 +00:00
main.c Map foreign architecture names to FreeBSD naming convention. 2012-01-20 18:55:56 +00:00
make.1 Update date for r236338 & r236346. 2012-05-31 20:13:44 +00:00
make.c - Partially revert r200417. config.h brings several definitions, 2009-12-17 12:42:45 +00:00
make.h 1. Add the ability to tweak the token output before targets in job mode. 2008-12-29 10:26:02 +00:00
Makefile Correct typo in version. 2012-06-20 00:37:00 +00:00
Makefile.dist
parse.c Report lines that ought to contain a ':' operator but start with a '.' 2010-01-04 00:49:04 +00:00
parse.h
pathnames.h
proc.c Add a missing space to the error message when execvp() failed. 2009-12-05 13:12:04 +00:00
proc.h
shell.c
shell.h
str.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
str.h
suff.c Remove inlining of functions that are used mostly in different object files. 2009-01-20 17:15:12 +00:00
suff.h
targ.c Remove unnecessary includes. 2009-12-11 23:20:02 +00:00
targ.h
util.c
util.h
var.c In usr.bin/make/var.c, function ParseModifier(), initialize the 'error' 2012-08-05 15:55:36 +00:00
var.h