diff options
author | David S. Miller <davem@davemloft.net> | 2009-08-19 16:55:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-19 16:55:55 -0400 |
commit | 886f9fe68310168358f55028a03553ae154dfeb6 (patch) | |
tree | 57691ac80b309f114c8dda3af5e318c0cd560f12 /net/x25/x25_subr.c | |
parent | 0c3f450b8b345dafa79f1cc69eda702e0293b0cc (diff) |
ppp_generic: Help GCC see that 'flen' is always initialized.
It's too stupid to see that we always set flen to something
before we use it in ppp_mp_explode():
drivers/net/ppp_generic.c: In function 'ppp_push':
drivers/net/ppp_generic.c:1314: warning: 'flen' may be used uninitialized in this function
drivers/net/ppp_generic.c:1314: note: 'flen' was declared here
This started warning after commit a53a8b56827cc429c6d9f861ad558beeb5f6103f
("ppp: fix lost fragments in ppp_mp_explode() (resubmit)")
So just put an explicit unconditional initialization there to
hush it up.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_subr.c')
0 files changed, 0 insertions, 0 deletions