diff options
Diffstat (limited to 'tests/png/bug00338.c')
-rw-r--r-- | tests/png/bug00338.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/png/bug00338.c b/tests/png/bug00338.c index 779180f..814a5ab 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; @@ -34,7 +35,7 @@ int main() im = gdImageCreateTrueColor(10, 10); fp = gdTestTempFp(); - gdTestAssert(fp); + gdTestAssert(fp!=NULL); if (!fp) { exit(2); } |