diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index 8f2b3bab1c..bb4b23a367 100644 --- a/src/gui/painting/qdrawhelper.cpp +++ b/src/gui/painting/qdrawhelper.cpp @@ -294,7 +294,6 @@ StorePixelsFunc qStorePixels[QPixelLayout::BPPCount] = { }; typedef uint (QT_FASTCALL *FetchPixelFunc)(const uchar *src, int index); -typedef void (QT_FASTCALL *StorePixelFunc)(uchar *dest, int index, uint pixel); FetchPixelFunc qFetchPixel[QPixelLayout::BPPCount] = { 0, // BPPNone @@ -306,17 +305,6 @@ FetchPixelFunc qFetchPixel[QPixelLayout::BPPCount] = { fetchPixel // BPP32 }; -StorePixelFunc qStorePixel[QPixelLayout::BPPCount] = { - 0, // BPPNone - storePixel, // BPP1MSB - storePixel, // BPP1LSB - storePixel, // BPP8 - storePixel, // BPP16 - storePixel, // BPP24 - storePixel // BPP32 -}; - - /* Destination fetch. This is simple as we don't have to do bounds checks or transformations