From 07db66c6692871b7c29393ecd33792818764f6ce Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Fri, 30 Jun 2023 10:59:10 +0200 Subject: [PATCH] fix(test/mqtt): Removes no-format from test_apps build Allows warnings on mismatching format strings. --- components/mqtt/test_apps/test_mqtt/main/CMakeLists.txt | 1 - components/mqtt/test_apps/test_mqtt5/main/CMakeLists.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/components/mqtt/test_apps/test_mqtt/main/CMakeLists.txt b/components/mqtt/test_apps/test_mqtt/main/CMakeLists.txt index e7499a2..7a06624 100644 --- a/components/mqtt/test_apps/test_mqtt/main/CMakeLists.txt +++ b/components/mqtt/test_apps/test_mqtt/main/CMakeLists.txt @@ -6,4 +6,3 @@ endif() idf_component_register(SRCS "${srcs}" PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif spi_flash common) - target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") diff --git a/components/mqtt/test_apps/test_mqtt5/main/CMakeLists.txt b/components/mqtt/test_apps/test_mqtt5/main/CMakeLists.txt index 326b8fa..f152df9 100644 --- a/components/mqtt/test_apps/test_mqtt5/main/CMakeLists.txt +++ b/components/mqtt/test_apps/test_mqtt5/main/CMakeLists.txt @@ -2,4 +2,3 @@ set(srcs test_mqtt5_client_broker.c test_mqtt5.c) idf_component_register(SRCS "${srcs}" PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif spi_flash common) - target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")