diff options
author | Denys Vlasenko | 2009-12-12 02:42:35 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-12-12 02:42:35 +0100 |
commit | 31e2e7b86388e4ece09f37866bd1411f357cafbd (patch) | |
tree | d87ab658d71ea54decdf6f6c94a0de1133124ea1 /networking | |
parent | 1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff) | |
download | busybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.zip busybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/tftp.c | 3 | ||||
-rw-r--r-- | networking/traceroute.c | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index ef4198b..8d60388 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -743,7 +743,7 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv) const char *error_msg; int opt, result, opcode; IF_FEATURE_TFTP_BLOCKSIZE(int blksize = TFTP_BLKSIZE_DEFAULT;) - IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size;) + IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size = 0;) INIT_G(); @@ -791,7 +791,6 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv) goto err; } # if ENABLE_FEATURE_TFTP_BLOCKSIZE - want_transfer_size = 0; { char *res; char *opt_str = mode + sizeof("octet"); diff --git a/networking/traceroute.c b/networking/traceroute.c index 110bdfa..a30decf 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -703,9 +703,10 @@ packet_ok(int read_len, len_and_sockaddr *from_lsa, } #else /* !ENABLE_TRACEROUTE6 */ static ALWAYS_INLINE int -packet_ok(int read_len, len_and_sockaddr *from_lsa, - struct sockaddr *to UNUSED_PARAM, - int seq) +packet_ok(int read_len, + len_and_sockaddr *from_lsa IF_NOT_FEATURE_TRACEROUTE_VERBOSE(UNUSED_PARAM), + struct sockaddr *to UNUSED_PARAM, + int seq) { return packet4_ok(read_len, &from_lsa->u.sin, seq); } |