mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
netlabel: Fix compiler warnings in netlabel_mgmt.c
Fix the compiler warnings below, thanks to Andrew Morton for finding them. net/netlabel/netlabel_mgmt.c: In function `netlbl_mgmt_listentry': net/netlabel/netlabel_mgmt.c:268: warning: 'ret_val' might be used uninitialized in this function Signed-off-by: Paul Moore <paul.moore@hp.com>
This commit is contained in:
parent
00af5c6959
commit
f8a024796b
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ add_failure:
|
|||
static int netlbl_mgmt_listentry(struct sk_buff *skb,
|
||||
struct netlbl_dom_map *entry)
|
||||
{
|
||||
int ret_val;
|
||||
int ret_val = 0;
|
||||
struct nlattr *nla_a;
|
||||
struct nlattr *nla_b;
|
||||
struct netlbl_af4list *iter4;
|
||||
|
|
Loading…
Reference in a new issue