提交 4e0c1193 编写于 作者: M Max Bruckner

Add warning -Wmissing-variable-declarations

上级 38b2f40a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册