diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-09-15 09:07:41 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-09-15 09:07:41 +0200 |
commit | a3174753ff6582ba89368c76c98ecc24c0207152 (patch) | |
tree | f1a2128d01ec0a8b789c58c22cf1438d4c5f806c /kernel/net/netfilter/ipset/ip_set_hash_ipportip.c | |
parent | 70fdf030545f00888bcebb5fca8243a6dccca95b (diff) |
Suppress false compile-time warnings:
warning: 'ip_to' may be used uninitialized in this function
Diffstat (limited to 'kernel/net/netfilter/ipset/ip_set_hash_ipportip.c')
-rw-r--r-- | kernel/net/netfilter/ipset/ip_set_hash_ipportip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/netfilter/ipset/ip_set_hash_ipportip.c b/kernel/net/netfilter/ipset/ip_set_hash_ipportip.c index 55de642..9134057 100644 --- a/kernel/net/netfilter/ipset/ip_set_hash_ipportip.c +++ b/kernel/net/netfilter/ipset/ip_set_hash_ipportip.c @@ -162,7 +162,7 @@ hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], const struct ip_set_hash *h = set->data; ipset_adtfn adtfn = set->variant->adt[adt]; struct hash_ipportip4_elem data = { }; - u32 ip, ip_to, p = 0, port, port_to; + u32 ip, ip_to = 0, p = 0, port, port_to; u32 timeout = h->timeout; bool with_ports = false; int ret; |