From: Kim Motoyoshi Kalland Date: Mon, 13 Feb 2012 15:01:11 +0000 (+0100) Subject: Removed unused qStorePixel[] array. X-Git-Tag: qt-v5.0.0-alpha1~1116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28f02bcd51b30dd1981159d507b3f2dc215314e2;p=profile%2Fivi%2Fqtbase.git Removed unused qStorePixel[] array. Change-Id: I9c9df19fcf06b127aaebb7ab093221e1b254ab9e Reviewed-by: Thiago Macieira --- diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index 8f2b3ba..bb4b23a 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