diff options
-rw-r--r-- | tests/jpeg/bug00338.c | 1 | ||||
-rw-r--r-- | tests/png/bug00338.c | 1 | ||||
-rw-r--r-- | tmp/preamble.txt | 0 |
3 files changed, 2 insertions, 0 deletions
diff --git a/tests/jpeg/bug00338.c b/tests/jpeg/bug00338.c index 7874df2..14c660f 100644 --- a/tests/jpeg/bug00338.c +++ b/tests/jpeg/bug00338.c @@ -19,6 +19,7 @@ static int error_handler_called = 0; static void error_handler(int priority, const char *format, va_list args) { + ARG_NOT_USED(args); if (!strcmp(format, MSG)) { gdTestAssertMsg(priority == GD_WARNING, "expected priority %d, but got %d", GD_WARNING, priority); error_handler_called = 1; diff --git a/tests/png/bug00338.c b/tests/png/bug00338.c index 479a864..4fd5273 100644 --- a/tests/png/bug00338.c +++ b/tests/png/bug00338.c @@ -19,6 +19,7 @@ static int error_handler_called = 0; static void error_handler(int priority, const char *format, va_list args) { + ARG_NOT_USED(args); if (!strcmp(format, MSG)) { gdTestAssertMsg(priority == GD_WARNING, "expected priority %d, but got %d", GD_WARNING, priority); error_handler_called = 1; diff --git a/tmp/preamble.txt b/tmp/preamble.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tmp/preamble.txt |