diff --git a/tests/suites/test_suite_debug.function b/tests/suites/test_suite_debug.function index 65cdd9923..02381ca95 100644 --- a/tests/suites/test_suite_debug.function +++ b/tests/suites/test_suite_debug.function @@ -10,7 +10,7 @@ struct buffer_data void string_debug(void *data, int level, const char *str) { struct buffer_data *buffer = (struct buffer_data *) data; - level = 0; + ((void) level); memcpy(buffer->ptr, str, strlen(str)); buffer->ptr += strlen(str);