mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
gif2webp: silence a unused param warning
Change-Id: I694857fc6adb011f19d14780de4f8c71e2719707
This commit is contained in:
parent
7d9fdc2389
commit
9acb17dea4
@ -142,10 +142,12 @@ static void DisplayGifError(const GifFileType* const gif) {
|
||||
const char* error_str = (const char*)GifErrorString(gif->Error);
|
||||
#else
|
||||
const char* error_str = (const char*)GifErrorString();
|
||||
(void)gif;
|
||||
#endif
|
||||
if (error_str == NULL) error_str = "Unknown error";
|
||||
fprintf(stderr, "GIFLib Error: %s\n", error_str);
|
||||
#else
|
||||
(void)gif;
|
||||
fprintf(stderr, "GIFLib Error: ");
|
||||
PrintGifError();
|
||||
fprintf(stderr, "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user