oledlg: Remove dead assignment (clang)

André Hentschel nerv at dawncrow.de
Wed Jul 13 13:35:49 CDT 2011


---
 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)
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list