From f06ab42ab8b22842d1cba34466b7fa4e341a764a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 13 Jul 2011 20:35:49 +0200 Subject: [PATCH] oledlg: Remove dead assignment (clang). --- dlls/oledlg/pastespl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c index ae5e2f2f04d..a487db7c800 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)