Initial variable before read
Closes-Bug:1795120 Change-Id: I116d489da785e50d3a37157079bf2509c03dca43 Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
parent
d987f1bcdf
commit
eb6a4cae4e
|
@ -535,6 +535,7 @@ static void sm_hw_netlink_qdisc_msg_dispatch( SmHwThreadInfoT* thread_info,
|
|||
{
|
||||
struct rtattr* tb_stats[TCA_STATS_MAX+1];
|
||||
|
||||
memset( tb_stats, 0, sizeof(tb_stats) );
|
||||
len = RTA_PAYLOAD(tb[TCA_STATS2]);
|
||||
|
||||
for( rta = (struct rtattr*) RTA_DATA(tb[TCA_STATS2]);
|
||||
|
|
Loading…
Reference in New Issue