diff options
author | Bill Fischofer <bill.fischofer@linaro.org> | 2017-02-02 18:28:01 -0600 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-02-10 00:13:16 +0300 |
commit | 483af96a7a14885694496843551ed8fad708192c (patch) | |
tree | 703bb6be994fe9f57667f824a43f108bb9f7c46b /helper | |
parent | f59d87a65cf1d08f8715a01dceeaf370a29e51f3 (diff) |
helper: iplookuptable: removed unused variable
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2829 by avoiding
unused variable.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'helper')
-rw-r--r-- | helper/iplookuptable.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c index 845125b3a..9abdab229 100644 --- a/helper/iplookuptable.c +++ b/helper/iplookuptable.c @@ -639,11 +639,9 @@ prefix_insert_iter( /* If this entry contains a nexthop and a small cidr, * push it to the next level. */ - if (entry->cidr > 0) { - state = prefix_insert_into_lx( - tbl, ne, entry->cidr, - push, entry->cidr + 8); - } + if (entry->cidr > 0) + (void)prefix_insert_into_lx(tbl, ne, entry->cidr, + push, entry->cidr + 8); } ne += (ip >> 24); |