From 47fa711bbcff49e28d605eecabff70e229cb5c9e Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 9 Dec 2014 22:11:03 +0100 Subject: [PATCH] comctl32: Remove a stray unused GetFocus() statement (PVS-Studio). --- dlls/comctl32/toolbar.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index a1b7966c980..a329c2621a2 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -5067,8 +5067,6 @@ TOOLBAR_SetHotItem2 (TOOLBAR_INFO *infoPtr, INT nHotItem, LPARAM lParam) TOOLBAR_SetHotItemEx(infoPtr, nHotItem, lParam); - GetFocus(); - return (nOldHotItem < 0) ? -1 : (LRESULT)nOldHotItem; }