Skip to content

Commit e055b28

Browse files
sierenme-no-dev
authored andcommitted
Ignore Werror-maybe-uninitialized from Azure IoT Library (#2824)
Ignore the error about a potentially uninitialized variable in the Azure library that will occur when compiling as a component in ESP-IDF.
1 parent 714ba94 commit e055b28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,8 @@ set(COMPONENT_REQUIRES spi_flash mbedtls mdns ethernet)
209209
set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support openssl bt)
210210

211211
register_component()
212+
213+
set_source_files_properties(libraries/AzureIoT/src/az_iot/iothub_client/src/iothubtransport_mqtt_common.c
214+
PROPERTIES COMPILE_FLAGS
215+
-Wno-maybe-uninitialized
216+
)

0 commit comments

Comments
 (0)