137082 Commits

Author SHA1 Message Date
lukem
829384f829 appease gcc -Wuninitialized 2005-06-02 04:34:57 +00:00
lukem
8125c19da2 appease gcc -Wuninitialized.
Each is marked with XXXGCC, because in some cases it looks like gcc
isn't correctly detecting that
	for ( ; xxx ; yyy)
		foo = 0;
always sets foo ...
2005-06-02 04:25:16 +00:00
lukem
f01455eaa9 Don't attempt to dereference an uninitialized 'ep' pointer if we can't
make a temporary file to mail to the user.
Detected with gcc -Wuninitialized.
2005-06-02 04:03:03 +00:00
lukem
00cf2c1ca4 Don't attempt to dereference an uninitialized pointer when an error
occurs in gtags parsing.   For that matter, remove the unused 'tftp'
and 'echk' variable, as they're set but not used afterwards.
Detected with gcc -Wuninitialized.
2005-06-02 03:51:14 +00:00
lukem
9aeda3fd63 appease gcc -Wuninitialized 2005-06-02 03:11:23 +00:00
lukem
ef45472693 appease gcc -Wuninitialized 2005-06-02 03:00:19 +00:00
lukem
5c37c8a0a3 Cleanup use of 'host' when running 'rpcinfo -p'.
Appease other -Wuninitialized warnings.
2005-06-02 02:46:16 +00:00
lukem
4baf8a84ca appease gcc -Wuninitialized 2005-06-02 02:19:51 +00:00
lukem
458eb38666 Improve argument error checking.
Detected with -Wuninitialized.
2005-06-02 02:14:58 +00:00
lukem
a3b235bbd2 appease gcc -Wuninitialized 2005-06-02 01:53:01 +00:00
lukem
6b5252b15f Fix numerous uninitalized variables.
Detected with gcc -Wuninitialized.
2005-06-02 01:51:58 +00:00
lukem
8573d5e23d appease gcc -Wuninitialized 2005-06-02 01:42:11 +00:00
lukem
903f12a55a Ensure yflag is initialized before trying to use it.
Detected with gcc -Wuninitialized.
2005-06-02 01:41:38 +00:00
lukem
658ed3362c appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
lukem
2d447a3b0c Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
Detected with gcc -Wuninitialized.
(The bug was fixed in rev 1.4 by rumble but reintroduced in rev 1.5 by tv !)
2005-06-02 01:31:30 +00:00
lukem
230e9bea1f Use ai_nfs instead of the uninitialized ai when determining the NFSMNT_KERB
reverse IP address, and ensure ecode is set as well.
Detected with gcc -Wuninitialized.
(The bug was introduced in mount_nfs.c rev 1.25.  Hi fvdl! :)
2005-06-02 01:24:45 +00:00
dbj
ab963542e1 for ufs2, assume FS_44INODEFMT
this is necessary for freebsd compatbility, since they do not initialize
the old field.
2005-06-02 01:23:19 +00:00
lukem
620037ae2b Ensure verbose is initialized before using it.
Detected by gcc -Wuninitialized.
2005-06-02 01:16:06 +00:00
lukem
2b11c546a4 appease gcc -Wuninitialized 2005-06-02 01:02:21 +00:00
lukem
a0618cd165 appease gcc -Wuninitialized 2005-06-02 00:48:48 +00:00
lukem
700088dc7f appease gcc -Wuninitialized 2005-06-02 00:38:41 +00:00
lukem
86716480cb appease gcc -Wuninitialized 2005-06-02 00:15:02 +00:00
lukem
925bd672b3 Ensure that "setcache <mode>" doesn't use random data for "byte2"
("setcache <mode> save" DTRT).
Found by gcc -Wuninitialized.

Appease other -Wuninitialized warnings.
2005-06-02 00:13:10 +00:00
lukem
9a1b8a3b7b appease gcc -Wuninitialized 2005-06-02 00:01:47 +00:00
lukem
2cd106ee37 Fix an uninitialized variable issue.
Found with gcc -Wuninitialized.
2005-06-02 00:00:46 +00:00
jdc
d71f5da715 Add const (catching up with additions to MI ddb code). 2005-06-01 21:24:05 +00:00
jdc
4612fcc60c Rename "delay" variable to avoid shadowing the "delay" from param.h. 2005-06-01 21:17:28 +00:00
jdc
b6141d5839 Add const (catching up with additions to MI ddb code). 2005-06-01 21:05:36 +00:00
jdc
9e2e82eb16 Fix this properly by renaming the conflicting variables. 2005-06-01 19:45:34 +00:00
drochner
645c942f3b const fall-out, from Patrick Welche 2005-06-01 19:40:58 +00:00
jdc
ee08c5a2f0 Remove extraneous definition of struct llc (found by shadow warning). 2005-06-01 19:38:13 +00:00
drochner
1be856bcd9 adapt to ddb constification 2005-06-01 19:30:11 +00:00
jandberg
6b17417999 regen: wsmux added (enabled only in WSCONS) 2005-06-01 19:16:37 +00:00
drochner
4c60f4d510 one more "const" for multiprocessor, from Patrick Welche 2005-06-01 19:06:24 +00:00
jandberg
bb8b95b1f4 Add wsmux. 2005-06-01 18:55:08 +00:00
drochner
ef59f6d9ce update for acpi busname removal 2005-06-01 18:51:25 +00:00
jandberg
929fa06243 Tell kbd when it is the console keyboard instead of always assuming
it is. Also console keyboard initialization is now made during consinit
instead of autoconf.
Reviewed by <is>.
2005-06-01 18:50:33 +00:00
drochner
6e2d003046 more cast-qual and shadow fallout 2005-06-01 18:41:51 +00:00
drochner
74c3fc01b1 more cast-qual fallout 2005-06-01 18:34:12 +00:00
drochner
4c26f57294 make the argument to prom getenv() cnd the printf() format const
remove variable names from prototypes
2005-06-01 18:32:07 +00:00
elad
9a23dc795f Newline in end of usage. 2005-06-01 18:29:16 +00:00
drochner
ef3bc6e308 quell cast-qual and shadow warnings 2005-06-01 18:21:43 +00:00
drochner
10e0e927de add "const" where needed 2005-06-01 18:18:52 +00:00
drochner
b10340ac93 quell cast-qual and shadow warnings 2005-06-01 18:07:04 +00:00
drochner
d481be4d04 prepend an underscore to local variables in macros, to avoid shadowing
user defined ones
2005-06-01 18:03:50 +00:00
wiz
7aee94451b New sentence, new line; grammar improvements. 2005-06-01 17:33:21 +00:00
sjg
5f60a7de65 Add :Ox for random ordering, based on patch from
Mike M. Volokhov <mishka@apk.od.ua>
2005-06-01 17:17:34 +00:00
drochner
0f412f7917 make this compile after Wcast-qual 2005-06-01 17:05:16 +00:00
drochner
81d2438e71 quell shadow variable warnings 2005-06-01 16:53:51 +00:00
drochner
1334ccff34 cast-qual fallout 2005-06-01 16:53:07 +00:00