mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Add warning -Wmissing-variable-declarations
This commit is contained in:
parent
38b2f40a9a
commit
4e0c119391
@ -43,6 +43,7 @@ if (ENABLE_CUSTOM_COMPILER_FLAGS)
|
|||||||
-Wparentheses
|
-Wparentheses
|
||||||
-Wformat-overflow
|
-Wformat-overflow
|
||||||
-Wunused-macros
|
-Wunused-macros
|
||||||
|
-Wmissing-variable-declarations
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ static cJSON_bool test_apply_patch(const cJSON * const test)
|
|||||||
return successful;
|
return successful;
|
||||||
}
|
}
|
||||||
|
|
||||||
static cJSON_bool test_generate_test(cJSON *test __attribute__((unused)))
|
static cJSON_bool test_generate_test(cJSON *test)
|
||||||
{
|
{
|
||||||
cJSON *doc = NULL;
|
cJSON *doc = NULL;
|
||||||
cJSON *patch = NULL;
|
cJSON *patch = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user