Gerald Pfeifer : comctl32: Remove unused parameter from _read_bitmap().

Alexandre Julliard julliard at winehq.org
Tue Jul 29 07:16:43 CDT 2008


Module: wine
Branch: master
Commit: 1cdb06c69c8f3a43098d07e910eff23ebe79f476
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1cdb06c69c8f3a43098d07e910eff23ebe79f476

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Jul 27 22:18:39 2008 +0200

comctl32: Remove unused parameter from _read_bitmap().

---

 dlls/comctl32/imagelist.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index a673b1b..f909155 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -1899,7 +1899,7 @@ static int DIB_GetDIBImageBytes( int width, int height, int depth )
 
 
 /* helper for ImageList_Read, see comments below */
-static BOOL _read_bitmap(HIMAGELIST himl, HDC hdcIml, LPSTREAM pstm)
+static BOOL _read_bitmap(HDC hdcIml, LPSTREAM pstm)
 {
     BITMAPFILEHEADER	bmfh;
     int bitsperpixel, palspace;
@@ -2006,14 +2006,14 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm)
     if (!himl)
 	return NULL;
 
-    if (!_read_bitmap(himl, himl->hdcImage, pstm))
+    if (!_read_bitmap(himl->hdcImage, pstm))
     {
 	WARN("failed to read bitmap from stream\n");
 	return NULL;
     }
     if (ilHead.flags & ILC_MASK)
     {
-        if (!_read_bitmap(himl, himl->hdcMask, pstm))
+        if (!_read_bitmap(himl->hdcMask, pstm))
         {
             WARN("failed to read mask bitmap from stream\n");
 	    return NULL;




More information about the wine-cvs mailing list