gphoto2.ds: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Thu Apr 17 11:39:39 CDT 2008


Changelog:
    gphoto2.ds: Remove unused variable.

diff --git a/dlls/gphoto2.ds/ui.c b/dlls/gphoto2.ds/ui.c
index 6e8ecc0..d36d7de 100644
--- a/dlls/gphoto2.ds/ui.c
+++ b/dlls/gphoto2.ds/ui.c
@@ -114,7 +114,6 @@ static void PopulateListView(HWND List)
 static void PopulateImageList(HIMAGELIST *iList, HWND list)
 {
 	struct gphoto2_file *file;
-	INT rc;
 	HWND 	progress_dialog;
 
 	progress_dialog =
@@ -143,8 +142,8 @@ static void PopulateImageList(HIMAGELIST *iList, HWND list)
 
 				SendMessageW(list, LVM_SETICONSPACING, 0,
 						MAKELONG(bmpInfo.bmWidth+6, bmpInfo.bmHeight+15) ); }
-			
-			rc = ImageList_Add(*iList, bitmap, 0);
+
+			ImageList_Add(*iList, bitmap, 0);
 
 			DeleteObject(static_bitmap);
 			static_bitmap = bitmap;



More information about the wine-patches mailing list