From 33f0b50305763407a1332d35d6b31966c21dfba3 Mon Sep 17 00:00:00 2001 From: David Tschumperle Date: Thu, 19 Sep 2024 08:28:28 +0200 Subject: [PATCH] CImg::save_webp(): Mark argument 'quality' as unused when 'cimg_use_webp' not defined (avoid compiler warnings). --- CImg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CImg.h b/CImg.h index 0c98914f..a204205d 100644 --- a/CImg.h +++ b/CImg.h @@ -60301,6 +60301,7 @@ namespace cimg_library { "save_webp(): WebP only supports (A)RGB colorspace.", cimg_instance); #ifndef cimg_use_webp + cimg::unused(quality); return save_other(filename); #else CImg rgbaBuffer(size());