André Hentschel : oledlg: Remove dead assignment ( clang).

Alexandre Julliard julliard at winehq.org
Thu Jul 14 13:08:16 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jul 13 20:35:49 2011 +0200

oledlg: Remove dead assignment (clang).

---

 dlls/oledlg/pastespl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
index ae5e2f2..a487db7 100644
--- a/dlls/oledlg/pastespl.c
+++ b/dlls/oledlg/pastespl.c
@@ -313,7 +313,6 @@ static void update_display_list(HWND hdlg, UINT src_list_id)
         SendMessageW(display_list, LB_INSERTSTRING, i, (LPARAM)txt);
         SendMessageW(display_list, LB_SETITEMDATA, i, item_data);
     }
-    old_pos = max(old_pos, count);
     SendMessageW(display_list, LB_SETCURSEL, 0, 0);
     SendMessageW(display_list, WM_SETREDRAW, 1, 0);
     if(GetForegroundWindow() == hdlg)




More information about the wine-cvs mailing list