mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +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);
|
const char* error_str = (const char*)GifErrorString(gif->Error);
|
||||||
#else
|
#else
|
||||||
const char* error_str = (const char*)GifErrorString();
|
const char* error_str = (const char*)GifErrorString();
|
||||||
|
(void)gif;
|
||||||
#endif
|
#endif
|
||||||
if (error_str == NULL) error_str = "Unknown error";
|
if (error_str == NULL) error_str = "Unknown error";
|
||||||
fprintf(stderr, "GIFLib Error: %s\n", error_str);
|
fprintf(stderr, "GIFLib Error: %s\n", error_str);
|
||||||
#else
|
#else
|
||||||
|
(void)gif;
|
||||||
fprintf(stderr, "GIFLib Error: ");
|
fprintf(stderr, "GIFLib Error: ");
|
||||||
PrintGifError();
|
PrintGifError();
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user