diff --git a/examples/cwebp.c b/examples/cwebp.c index 2fd31203..1d3ae477 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -283,6 +283,8 @@ static int ReadJPEG(FILE* in_file, WebPPicture* const pic) { #else static int ReadJPEG(FILE* in_file, WebPPicture* const pic) { + (void)in_file; + (void)pic; printf("JPEG support not compiled. Please install the libjpeg development " "package before building.\n"); return 0; @@ -378,6 +380,9 @@ static int ReadPNG(FILE* in_file, WebPPicture* const pic, int keep_alpha) { } #else static int ReadPNG(FILE* in_file, WebPPicture* const pic, int keep_alpha) { + (void)in_file; + (void)pic; + (void)keep_alpha; printf("PNG support not compiled. Please install the libpng development " "package before building.\n"); return 0; diff --git a/examples/dwebp.c b/examples/dwebp.c index 406b0e4c..4252fe4e 100644 --- a/examples/dwebp.c +++ b/examples/dwebp.c @@ -186,6 +186,8 @@ static int WritePNG(FILE* out_file, const WebPDecBuffer* const buffer) { typedef uint32_t png_uint_32; static int WritePNG(FILE* out_file, const WebPDecBuffer* const buffer) { + (void)out_file; + (void)buffer; printf("PNG support not compiled. Please install the libpng development " "package before building.\n"); printf("You can run with -ppm flag to decode in PPM format.\n");