Skip to content

Commit 8499fec

Browse files
committed
fix sa
1 parent c6c891d commit 8499fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ble_gatt_server/include/device_info_service.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class DeviceInfoService : public BaseComponent {
178178
/// \param size The size of the data
179179
/// \return The PnP ID
180180
static PnpId parse_pnp_id(const uint8_t *data, size_t size) {
181-
PnpId pnp_id;
181+
PnpId pnp_id = {};
182182
if (size < 7) {
183183
return pnp_id;
184184
}

0 commit comments

Comments
 (0)