We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6c891d commit 8499fecCopy full SHA for 8499fec
components/ble_gatt_server/include/device_info_service.hpp
@@ -178,7 +178,7 @@ class DeviceInfoService : public BaseComponent {
178
/// \param size The size of the data
179
/// \return The PnP ID
180
static PnpId parse_pnp_id(const uint8_t *data, size_t size) {
181
- PnpId pnp_id;
+ PnpId pnp_id = {};
182
if (size < 7) {
183
return pnp_id;
184
}
0 commit comments