diff --git a/src/gui/painting/qpixellayout.cpp b/src/gui/painting/qpixellayout.cpp index e32d4e124a..f181d78a10 100644 --- a/src/gui/painting/qpixellayout.cpp +++ b/src/gui/painting/qpixellayout.cpp @@ -289,6 +289,7 @@ inline uint QT_FASTCALL fetchPixel(const uchar *src, int in } template <> +[[maybe_unused]] inline uint QT_FASTCALL fetchPixel(const uchar *src, int index) { // We have to do the conversion in fetch to fit into a 32bit uint @@ -297,6 +298,7 @@ inline uint QT_FASTCALL fetchPixel(const uchar *src, int in } template <> +[[maybe_unused]] inline uint QT_FASTCALL fetchPixel(const uchar *src, int index) { // We have to do the conversion in fetch to fit into a 32bit uint @@ -305,6 +307,7 @@ inline uint QT_FASTCALL fetchPixel(const uchar *src, in } template <> +[[maybe_unused]] inline uint QT_FASTCALL fetchPixel(const uchar *src, int index) { // We have to do the conversion in fetch to fit into a 32bit uint