From 0a7394e5578d3d301ad2c2cee525dfce2e843f3a Mon Sep 17 00:00:00 2001 From: Tarun Karela Date: Thu, 13 Sep 2018 10:35:11 +0100 Subject: [PATCH] [RAMEN9610-8687][9610] wlbt: Fix warning in nan code After sync with ERD stable on 11th september, it seems stricter compilation check has been turned on upstream wherein warnings are treated as errors. Change-Id: I6f5241d6aa83b49b8fa551300a3235f9f1ae428a SCSC-Bug-Id: SSB-30752 Signed-off-by: Tarun Karela --- wifi_nan.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/wifi_nan.cpp b/wifi_nan.cpp index 4c1a208..e5a60d1 100755 --- a/wifi_nan.cpp +++ b/wifi_nan.cpp @@ -287,7 +287,6 @@ class NanCommand : public WifiCommand { int processResponse(WifiEvent &reply, NanResponseMsg *response) { NanCapabilities *capabilities = &response->body.nan_capabilities; nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); - //int len = reply.get_vendor_data_len(); unsigned int val; for(nl_iterator nl_itr(vendor_data); nl_itr.has_next(); nl_itr.next()) { -- 2.20.1