Add warning -Wmissing-variable-declarations

This commit is contained in:
Max Bruckner committed 2017-06-28 17:28:49 +02:00
1 parent 38b2f40a9a
commit 4e0c119391
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;