freebsd-skq/usr.bin/make
dim 7c93ab23a4 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
lst.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
lst.h
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
make.h
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
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
suff.h
targ.c
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