comctl32: Remove a stray unused GetFocus() statement (PVS-Studio).
This commit is contained in:
parent
1c4cb63036
commit
47fa711bbc
|
@ -5067,8 +5067,6 @@ TOOLBAR_SetHotItem2 (TOOLBAR_INFO *infoPtr, INT nHotItem, LPARAM lParam)
|
||||||
|
|
||||||
TOOLBAR_SetHotItemEx(infoPtr, nHotItem, lParam);
|
TOOLBAR_SetHotItemEx(infoPtr, nHotItem, lParam);
|
||||||
|
|
||||||
GetFocus();
|
|
||||||
|
|
||||||
return (nOldHotItem < 0) ? -1 : (LRESULT)nOldHotItem;
|
return (nOldHotItem < 0) ? -1 : (LRESULT)nOldHotItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue