Module: wine Branch: master Commit: ee7ef9e90104fed72b00a1019ee27f4d3e9e26fa URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee7ef9e90104fed72b00a1019e... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Apr 17 17:39:39 2008 +0100 gphoto2.ds: Remove unused variable. --- dlls/gphoto2.ds/ui.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) 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;