[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:36:01 +0000 (22:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:36:01 +0000 (22:36 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/options.c

index da16760..6e85550 100644 (file)
@@ -78,6 +78,7 @@ int dccp_parse_options(struct sock *sk, struct sk_buff *skb)
 
        memset(opt_recv, 0, sizeof(*opt_recv));
 
+       opt = len = 0;
        while (opt_ptr != opt_end) {
                opt   = *opt_ptr++;
                len   = 0;