Fix Dead Store (Dead Assignment) found by Clang Analyzer

---
 src/wtp/binding/ieee80211/wifi_nl80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Alexis La Goutte 2015-01-22 10:19:38 +01:00
parent 3a51803eba
commit e5f1fbd992
1 changed files with 1 additions and 1 deletions

View File

@ -1663,7 +1663,7 @@ static wifi_global_handle nl80211_global_init(void) {
/* Add membership regulatory events */
result = nl80211_get_multicast_id(globalhandle, "nl80211", "regulatory");
if (result >= 0) {
result = nl_socket_add_membership(globalhandle->nl_event, result);
nl_socket_add_membership(globalhandle->nl_event, result);
}
/* Get nl80211 netlink family */