=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: comctl32: Remove unneeded shadow variables for comboex.

Alexandre Julliard julliard at winehq.org
Wed Apr 18 13:04:14 CDT 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Apr 18 00:11:01 2012 +0200

comctl32: Remove unneeded shadow variables for comboex.

---

 dlls/comctl32/comboex.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index a1b6cff..710ef79 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -1381,8 +1381,6 @@ static LRESULT COMBOEX_DrawItem (const COMBOEX_INFO *infoPtr, DRAWITEMSTRUCT con
 	item = infoPtr->edit;
 
 	if (infoPtr->hwndEdit) {
-	    INT len;
-
 	    /* free previous text of edit item */
 	    COMBOEX_FreeText(item);
 	    item->mask &= ~CBEIF_TEXT;
@@ -2076,7 +2074,6 @@ COMBOEX_ComboWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
 		 * For EN_CHANGE this issues the same calls and messages
 		 *  as the native seems to do.
 		 */
-		WCHAR edit_text[260];
 		LPCWSTR lastwrk;
                 cmp_func_t cmptext = get_cmp_func(infoPtr);
 




More information about the wine-cvs mailing list