tron
c54394a240
Change the first argument of m_copydata() to "const struct mbuf *" (which
...
doesn't require any implementation changes). This will allow us to get
rid off a lot of nasty type casts.
2005-06-02 10:34:59 +00:00
drochner
fea4b15e35
remove __UNCONST which is not needed anymore
2005-06-02 10:29:04 +00:00
drochner
bce73c1519
in siginfo conversion functions, declare the source operand as "const"
2005-06-02 10:27:43 +00:00
he
f25c7d55fa
Document the hack to compile sys/arch/powerpc/oea/pmap.c with
...
-Wno-cast-qual.
2005-06-02 10:25:22 +00:00
he
f483e62113
Put a band-aid over the cast qualification warnings for oea/pmap.c.
...
It cannot be compiled with -Wno-cast-qual due to a volatile pointer
being passed to memset(), and there's no easy way other than open-
coding memset() to fix this. So instead we cheat for now and add
-Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
2005-06-02 10:22:20 +00:00
he
da2e0654e4
Adapt to const additions.
2005-06-02 10:16:31 +00:00
is
4daeda666d
fix copy/paste/don'tupdate bug (fix from PR 22232 by Robert Elz).
2005-06-02 10:08:36 +00:00
lukem
4952bc0ec3
appease gcc -Wuninitialized
2005-06-02 09:58:55 +00:00
lukem
311c22130d
appease gcc -Wuninitialized
2005-06-02 09:47:37 +00:00
he
19108310c3
Fix variable shadowing warning.
2005-06-02 09:47:21 +00:00
he
50ea728723
Fix variable shadowing warnings by renaming the innermost variables.
2005-06-02 09:46:09 +00:00
lukem
1fab072e48
appease gcc -Wuninitialized
2005-06-02 09:42:57 +00:00
lukem
14e2784ec2
Remove an effectively unused variable.
...
Appease gcc -Wuninitialized.
2005-06-02 09:41:12 +00:00
lukem
0fc9160967
appease gcc -Wuninitialized
2005-06-02 09:32:57 +00:00
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