]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ctnetlink: fix gcc warning during compilation
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 22 Apr 2009 09:26:37 +0000 (02:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2009 09:26:37 +0000 (02:26 -0700)
commit1596191431941590b827526bcc3883ebf225576d
treef82d3dfa2ad1e44776ef2e2b6e794ab22738cdf1
parentfb3ac062a80004f6ce61d1c09e8809346c800e09
netfilter: ctnetlink: fix gcc warning during compilation

This patch fixes a (bogus?) gcc warning during compilation:

net/netfilter/nf_conntrack_netlink.c:1234: warning: 'helpname' may be used uninitialized in this function
net/netfilter/nf_conntrack_netlink.c:991: warning: 'helpname' may be used uninitialized in this function

In fact, helpname is initialized by ctnetlink_parse_help() so
I cannot see a way to use it without being initialized.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c