diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 04:42:35 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 04:42:35 +0300 |
commit | 31e2e7b86388e4ece09f37866bd1411f357cafbd (patch) | |
tree | d87ab658d71ea54decdf6f6c94a0de1133124ea1 /networking | |
parent | 1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff) |
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 ef4198be8..8d6038853 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 110bdfa76..a30decf10 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); } |