Removed unused qStorePixel[] array.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Mon, 13 Feb 2012 15:01:11 +0000 (16:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Feb 2012 01:48:35 +0000 (02:48 +0100)
Change-Id: I9c9df19fcf06b127aaebb7ab093221e1b254ab9e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/gui/painting/qdrawhelper.cpp

index 8f2b3ba..bb4b23a 100644 (file)
@@ -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<QPixelLayout::BPP32> // BPP32
 };
 
-StorePixelFunc qStorePixel[QPixelLayout::BPPCount] = {
-    0, // BPPNone
-    storePixel<QPixelLayout::BPP1MSB>, // BPP1MSB
-    storePixel<QPixelLayout::BPP1LSB>, // BPP1LSB
-    storePixel<QPixelLayout::BPP8>, // BPP8
-    storePixel<QPixelLayout::BPP16>, // BPP16
-    storePixel<QPixelLayout::BPP24>, // BPP24
-    storePixel<QPixelLayout::BPP32> // BPP32
-};
-
-
 /*
   Destination fetch. This is simple as we don't have to do bounds checks or
   transformations