Skip to content

Commit

Permalink
[Build bustage] src/lib/mdns/DiscoveryManager.cpp:165:13: warning: un…
Browse files Browse the repository at this point in the history
…used variable 'mac' [-Wunused-variable] (#3756)
  • Loading branch information
vivien-apple authored Nov 10, 2020
1 parent c2e5453 commit e1f34b3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions examples/shell/qpg6100/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import("${qpg6100_sdk_build_root}/qpg6100_sdk.gni")
assert(current_os == "freertos")

examples_plat_dir = "${chip_root}/examples/platform/qpg6100"
project_dir = "${chip_root}/examples/shell"

qpg6100_sdk("sdk") {
include_dirs = [
Expand Down Expand Up @@ -61,7 +60,6 @@ qpg6100_executable("shell_qpg6100") {
sources = [
"${examples_plat_dir}/project_include/CHIPProjectConfig.h",
"${examples_plat_dir}/util/streamer/streamer_qpg6100.cpp",
"${project_dir}/test_identity.cpp",
"main.cpp",
]

Expand Down
1 change: 0 additions & 1 deletion src/lib/mdns/DiscoveryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ CHIP_ERROR DiscoveryManager::SetupHostname()
CHIP_ERROR DiscoveryManager::PublishUnprovisionedDevice(chip::Inet::IPAddressType addressType, chip::Inet::InterfaceId interface)
{
#if CHIP_ENABLE_MDNS
uint8_t mac[6]; // 6 byte wifi mac
CHIP_ERROR error = CHIP_NO_ERROR;
MdnsService service;
uint16_t discriminator;
Expand Down
1 change: 0 additions & 1 deletion src/platform/Linux/MdnsImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ CHIP_ERROR MdnsAvahi::Browse(const char * type, MdnsServiceProtocol protocol, ch
AvahiServiceBrowser * browser;
BrowseContext * browseContext = static_cast<BrowseContext *>(chip::Platform::MemoryAlloc(sizeof(BrowseContext)));
AvahiIfIndex avahiInterface = static_cast<AvahiIfIndex>(interface);
AvahiProtocol avahiProtocol;

browseContext->mInstance = this;
browseContext->mContext = context;
Expand Down
1 change: 0 additions & 1 deletion src/test_driver/linux-cirque/test-on-off-cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def run_data_model_test(self):

for device_id in server_ids:
server_ip_address.add(self.get_device_thread_ip(device_id))
server_ip_address.add("::")

command = "chip-tool onoff {} {} {} 1"

Expand Down

0 comments on commit e1f34b3

Please sign in to comment.