1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/usr.bin
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
..
alias
apply
ar Fix world after byacc import: 2012-05-22 16:33:10 +00:00
asa
at
atm
awk
banner
basename
bc Fix world after byacc import: 2012-05-22 16:33:10 +00:00
biff
bluetooth
brandelf Fix warning when compiling with gcc46: 2012-01-10 02:58:29 +00:00
bsdiff Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
bzip2
bzip2recover
c89
c99
calendar - Add myself to calendar.freebsd 2012-08-01 17:48:38 +00:00
cap_mkdb
catman
chat Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
checknr
chkey Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
chpass Remove unnecessary cast 2012-02-14 10:11:45 +00:00
cksum Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
clang General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
cmp
col
colcrt
colldef
colrm
column
comm Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
compile_et - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
compress Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
cpio Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
cpuset
csplit
csup General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ctags
ctlstat Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
cut Fix typo 2012-06-11 03:10:15 +00:00
dc Minor mdoc nits. 2012-05-13 14:16:04 +00:00
dig
dirname
du Document -g option in the usage string. 2012-07-26 20:41:36 +00:00
ee
elf2aout
elfdump Don't extract the n_type value from the elf header, since it is never used 2012-02-16 05:16:55 +00:00
enigma Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
env
expand
false
fetch Revert r232274 - unauthorized, unnecessary and incorrect. 2012-05-26 17:19:41 +00:00
file Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
file2c
find find: Remove unnecessary and inconsistent initialization. 2012-07-31 16:55:41 +00:00
finger Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
fmt
fold
from
fstat Bring DPADD in sync with LDADD. 2012-05-19 05:07:03 +00:00
fsync
ftp
gcore
gencat Removed unused code: fixes compiler warning with CC=gcc46 2012-02-16 05:17:01 +00:00
getconf
getent
getopt
gprof Fix resolving symbol names on ARM. 2012-05-25 06:48:42 +00:00
grep Remove duplicate line from usage 2012-01-15 17:01:28 +00:00
gzip Fix style nit: don't use leading zero for dates in .Dd 2012-06-05 03:14:39 +00:00
head
hesinfo
hexdump mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
host
iconv
id
indent Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
ipcrm General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ipcs Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
join Fix a typo that crept in. 2012-05-18 03:30:50 +00:00
jot Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
kdump Allow the -p argument to kdump to accept either a PID or a thread ID. 2012-06-04 19:09:14 +00:00
keylogin
keylogout
killall Once in a month, when the moon is full, killall mistakenly considers 2012-06-30 16:36:22 +00:00
ktrace Don't trace or dump page fault records in the default set of tracepoints 2012-05-31 14:46:02 +00:00
ktrdump
lam
last - Replace "wtmp" with "utx.log" because last(1) no longer reads wtmp. 2012-01-22 11:34:24 +00:00
lastcomm Allow to specify strftime(3) format for process start end exit times. 2012-05-17 11:10:13 +00:00
ldd
leave
less MFV: less v449. 2012-06-26 23:17:33 +00:00
lessecho
lesskey
lex Fix error reported by mandoc. 2012-05-23 18:41:45 +00:00
limits General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
locale Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
locate Touch up some more small typos missed in the previous round. 2012-01-05 21:36:45 +00:00
lock Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
lockf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
logger
login None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
logins Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
logname
look
lorder
lsvfs
lzmainfo
m4 Fix world after byacc import: 2012-05-22 16:33:10 +00:00
mail Fix likely race condition if wait_child() is interrupted by sigchild() 2012-05-30 03:55:44 +00:00
make In usr.bin/make/var.c, function ParseModifier(), initialize the 'error' 2012-08-05 15:55:36 +00:00
makewhatis Currently the code uses gzFile * for a zlib file descriptor, which 2012-06-20 23:53:36 +00:00
man Minor mdoc improvements. 2012-06-03 11:09:51 +00:00
mesg
minigzip MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
ministat Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
mkcsmapper Fix spelling 2012-07-07 17:05:55 +00:00
mkcsmapper_static
mkdep
mkesdb Fix spelling 2012-07-07 17:05:55 +00:00
mkesdb_static
mkfifo
mklocale Fix world after byacc import: 2012-05-22 16:33:10 +00:00
mkstr
mktemp
mkulzma mdoc: document title should be all caps. 2012-03-25 19:34:05 +00:00
mkuzip
msgs
mt In usr.bin/mt/mt.c, the c_code member of struct commands should really 2011-12-17 02:23:30 +00:00
nc
ncal o Use ISO 3166 county code for Sweden. 2012-02-22 21:08:58 +00:00
ncplist Fix warning when compiling with gcc46: 2012-01-10 02:58:20 +00:00
ncplogin General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
netstat Allow netstat to be build if INET is not defined in the kernel. 2012-07-16 06:43:04 +00:00
newgrp Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
newkey
nfsstat Fix a bug which prevents "nfsstat -W" for server statistics from working. 2012-07-22 18:59:31 +00:00
nice
nl
nohup
nslookup
nsupdate
opieinfo
opiekey
opiepasswd
pagesize
pamtest Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
passwd None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
paste
pathchk
perror
pr Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
printenv
printf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
procstat Align the header with output. 2012-07-24 19:40:12 +00:00
quota
rctl The .Fx macro needs the version number be in its own word separated by 2012-04-22 07:55:56 +00:00
renice
rev
revoke
rlogin None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
rpcgen In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), so 2012-02-06 21:35:11 +00:00
rpcinfo Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
rs
rsh None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
rup
ruptime
rusers
rwall
rwho
script Mention when -d, -p and -r first hit FreeBSD. 2012-07-30 08:06:00 +00:00
sed Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
seq
setchannel Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
shar
showmount
smbutil
sockstat Update the usage with the new jail option. 2012-06-27 23:26:32 +00:00
sort - Change --nthreads parameter to --parallel for GNU compatibility 2012-07-04 16:25:11 +00:00
split Fix warning when compiling with gcc46: 2012-01-10 02:55:43 +00:00
stat Remove duplicate -l description. 2012-04-22 18:18:49 +00:00
stdbuf Remove end of line whitespace. 2012-05-12 19:59:37 +00:00
su
systat Whitespace fixes. 2012-02-05 09:17:49 +00:00
tabs
tail
talk Remove hand-written version of strcspn(). 2012-01-03 11:13:07 +00:00
tar Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
tcopy
tee Reverting last change r231449 (fix bin/164947) due to concerns voiced 2012-02-11 16:34:03 +00:00
telnet
tftp General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
time
tip Make tip exit if the device disappears, for instance when unplugging 2012-01-28 20:45:47 +00:00
top Fix two layout bugs in the previous change: 2012-07-02 20:08:11 +00:00
touch touch: Add the -d option from POSIX.1-2008. 2012-06-10 14:26:51 +00:00
tput
tr mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
true
truncate
truss Since truss also uses kdump's mkioctls script, pass the value of ${CPP} 2012-04-09 15:34:22 +00:00
tset Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
tsort
tty
ul
uname
unexpand
unifdef Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
uniq
units mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
unvis
unzip Pass a filename, rather than a file descriptor, to libarchive. 2012-05-29 09:11:19 +00:00
usbhidaction
usbhidctl Fix style nit: don't use leading zero for dates in .Dd 2012-06-05 03:14:39 +00:00
users
uudecode
uuencode
vacation Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
vgrind mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
vi
vis
vmstat Garbage collect defunct nlist(3) symbols. 2012-03-22 09:47:14 +00:00
w
wall Add multibyte char support. 2012-03-21 08:03:07 +00:00
wc
what
whereis Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
which
who General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
whois General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
write Fix write(1) to support wide characters. 2012-02-13 14:40:15 +00:00
xargs xargs: Before exiting, wait for all invocations of the utility. 2012-03-16 16:41:28 +00:00
xinstall Issue proper diagnostic on the short writes, also consider the 2012-07-02 09:53:57 +00:00
xlint Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
xstr
xz
xzdec
yacc Import byacc from invisible island, it brings us lots of compatibilities with 2012-05-21 13:31:26 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Sort per the comment. 2012-07-18 07:07:54 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.powerpc
Makefile.sparc64