commit | 615dfb075338314972ea760bbb094eee4eddf02a | [log] [tgz] |
---|---|---|
author | Skylar Chang <chiaweic@codeaurora.org> | Tue Aug 16 16:15:07 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Aug 16 16:18:12 2016 -0700 |
tree | 65cf94f31e186cb6c179e637d6f34c170b8364f3 | |
parent | 6fb842a336d2c0aa6382d07bac7cddbd65bfb875 [diff] |
IPACM: fix KW issue Fix the handle_del_ipv6_addr function with non-initialized variable num_v6. Change-Id: Ifd86b804ed0337936260a5f6479c8aaf11e1a22c
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp index 6085aca..db66628 100644 --- a/ipacm/src/IPACM_Lan.cpp +++ b/ipacm/src/IPACM_Lan.cpp
@@ -779,7 +779,7 @@ { uint32_t tx_index; uint32_t rt_hdl; - int num_v6, clnt_indx; + int num_v6 =0, clnt_indx; clnt_indx = get_eth_client_index(data->mac_addr); if (clnt_indx == IPACM_INVALID_INDEX)