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)
commit29fe1b481283a1bada994a69f65736db4ae6f35f
treef82d3dfa2ad1e44776ef2e2b6e794ab22738cdf1
parentcc29c70dd581f85ee7a3e7980fb031f90b90a2ab
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