lukem
677504d9ca
Test the correct pointer 'rfl' rather than an uninitialized 'fl' when
...
determining whether the lock was a LOCK_V4 or not.
Detected with gcc -Wuninitialized.
2005-06-02 09:30:27 +00:00
lukem
f604dfed13
WARNS=3
2005-06-02 09:21:01 +00:00
lukem
2a7d51e439
appease gcc -Wuninitialized and WARNS=3 in one swoop.
2005-06-02 09:20:37 +00:00
he
aa6dbf4358
Fix shadowing and cast qualification warnings.
2005-06-02 09:19:20 +00:00
lukem
90b888928b
appease gcc -Wuninitialized
2005-06-02 09:18:14 +00:00
he
5d76b8816d
Adapt to now compiling with -Wcast-qual - char pointers initialized
...
to string constants now need to be "const char*".
2005-06-02 09:13:06 +00:00
lukem
5318a10f1e
Remove uninitialized and unused (except for debug printf) 'dlen'.
...
Detected with gcc -Wuninitialized.
2005-06-02 09:09:43 +00:00
scw
9931d6382c
Re-sync with libc version of memcpy_arm.S, which has deals correctly
...
with big-endian ARM (non-XScale) systems.
2005-06-02 08:20:53 +00:00
scw
a14b1c10ef
Nuke trailing whitespace.
2005-06-02 08:18:20 +00:00
martin
9d33dc306b
Fix qualify/shadow warnings.
2005-06-02 08:03:50 +00:00
lukem
68b1911850
appease gcc -Wuninitialized
2005-06-02 06:54:02 +00:00
jdc
6fafff7c46
Remove prototypes for non-existent db_dump_buf() and db_dump_espcmd().
2005-06-02 06:52:51 +00:00
lukem
c8e07a4ef7
appease gcc -Wuninitialized
2005-06-02 05:58:24 +00:00
lukem
9b668c37e7
Ensure s is initialized before testing (none of the sockets may be ready
...
so it might not be setup).
Detected with gcc -Wuninitialized.
2005-06-02 05:57:03 +00:00
lukem
bbd17ef8af
Don't attempt to use an uninitialized variable in a debug message.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:54:44 +00:00
lukem
f1ce52a40f
Don't attempt to close a random file descriptor.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:45:59 +00:00
lukem
8fe660271c
Ensure name_str is initialized because we try to free it later.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:33:01 +00:00
lukem
edd6967461
Sanity checking. Detected with gcc -Wuninitialized
2005-06-02 05:30:12 +00:00
lukem
b38b7ffb5c
Don't try to use an uninitialized variable.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:12:41 +00:00
sjg
bfae9bbcab
Don't assume infinite command line length.
2005-06-02 05:11:55 +00:00
lukem
1363df60c1
Don't try to use an uninitialized variable.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:10:22 +00:00
lukem
d687f4502c
appease gcc -Wuninitialized
2005-06-02 04:59:17 +00:00
lukem
936a4cd73f
Don't attempt to close a random file descriptor upon error.
...
Detected with gcc -Wuninitialized.
2005-06-02 04:57:33 +00:00
lukem
08ef6270ca
appease gcc -Wuninitialized
2005-06-02 04:56:14 +00:00
lukem
89f4d29f7d
Appease gcc -Wuninitialized, in a similar method used elsewhere in the
...
same function.
2005-06-02 04:43:45 +00:00
riz
c86368208b
Fix some const fallout.
2005-06-02 04:40:46 +00:00
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