diff options
author | David S. Miller <davem@davemloft.net> | 2006-03-21 01:36:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:36:01 -0500 |
commit | fb9504964d32f69e4381dc8895eeb8e81a32af72 (patch) | |
tree | 156bf7039f0502f823cf81cccd9ac8f8a1d83d95 /net/dccp/options.c | |
parent | 57b47a53ec4a67691ba32cff5768e8d78fa6c67f (diff) |
[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index da1676016484..6e85550cc6f0 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -78,6 +78,7 @@ int dccp_parse_options(struct sock *sk, struct sk_buff *skb) | |||
78 | 78 | ||
79 | memset(opt_recv, 0, sizeof(*opt_recv)); | 79 | memset(opt_recv, 0, sizeof(*opt_recv)); |
80 | 80 | ||
81 | opt = len = 0; | ||
81 | while (opt_ptr != opt_end) { | 82 | while (opt_ptr != opt_end) { |
82 | opt = *opt_ptr++; | 83 | opt = *opt_ptr++; |
83 | len = 0; | 84 | len = 0; |