Skip to content

Commit

Permalink
[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 21, 2006
1 parent 57b47a5 commit fb95049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/dccp/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb95049

Please sign in to comment.