@@ -43,6 +43,7 @@ if (ENABLE_CUSTOM_COMPILER_FLAGS)
-Wparentheses
-Wformat-overflow
-Wunused-macros
+ -Wmissing-variable-declarations
)
endif()
@@ -119,7 +119,7 @@ static cJSON_bool test_apply_patch(const cJSON * const test)
return successful;
}
-static cJSON_bool test_generate_test(cJSON *test __attribute__((unused)))
+static cJSON_bool test_generate_test(cJSON *test)
{
cJSON *doc = NULL;
cJSON *patch = NULL;