From: David S. Miller Date: Tue, 21 Mar 2006 06:36:01 +0000 (-0800) Subject: [DCCP]: Fix uninitialized var warnings in dccp_parse_options(). X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fb9504964d32f69e4381dc8895eeb8e81a32af72;p=openwrt%2Fstaging%2Fblogic.git [DCCP]: Fix uninitialized var warnings in dccp_parse_options(). Signed-off-by: David S. Miller --- 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) memset(opt_recv, 0, sizeof(*opt_recv)); + opt = len = 0; while (opt_ptr != opt_end) { opt = *opt_ptr++; len = 0;