From d73a73c4085bfe6601b9ca0abe51206362f6a942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Thu, 22 Apr 2021 11:02:05 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cunused=20variable=E2=80=9D=20war?= =?UTF-8?q?ning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2b151d7a0cda8774c236de1a024acbb3a1875c7e Reviewed-by: Lorn Potter Reviewed-by: Allan Sandfeld Jensen --- src/gui/painting/qimagescale.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/painting/qimagescale.cpp b/src/gui/painting/qimagescale.cpp index 86057cdd335..28691fa89bc 100644 --- a/src/gui/painting/qimagescale.cpp +++ b/src/gui/painting/qimagescale.cpp @@ -322,6 +322,8 @@ static inline void multithread_pixels_function(QImageScaleInfo *isi, int dh, con semaphore.acquire(segments); return; } +#else + Q_UNUSED(isi); #endif scaleSection(0, dh); }