Fix “unused variable” warning

Change-Id: I2b151d7a0cda8774c236de1a024acbb3a1875c7e
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
bb10
Morten Sørvig 2021-04-22 11:02:05 +02:00
parent c494c1e875
commit d73a73c408
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}