Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clang warnings -Wshadow (#17866)
../../third_party/connectedhomeip/src/platform/nxp/k32w/k32w0/BLEManagerImpl.cpp:1400:85: error: declaration shadows a variable in namespace 'chip::DeviceLayer::Internal::(anonymous)' [-Werror,-Wshadow] CHIP_ERROR BLEManagerImpl::blekw_msg_add_att_written(blekw_msg_type_t type, uint8_t device_id, uint16_t handle, uint8_t * data, ^ ../../third_party/connectedhomeip/src/platform/nxp/k32w/k32w0/BLEManagerImpl.cpp:130:9: note: previous declaration is here uint8_t device_id; ^ ../../third_party/connectedhomeip/src/platform/nxp/k32w/k32w0/BLEManagerImpl.cpp:1435:82: error: declaration shadows a variable in namespace 'chip::DeviceLayer::Internal::(anonymous)' [-Werror,-Wshadow] CHIP_ERROR BLEManagerImpl::blekw_msg_add_att_read(blekw_msg_type_t type, uint8_t device_id, uint16_t handle) ^ ../../third_party/connectedhomeip/src/platform/nxp/k32w/k32w0/BLEManagerImpl.cpp:130:9: note: previous declaration is here uint8_t device_id; ^ 4 errors generated.
- Loading branch information