From 00577c0d910d3d0b524620c51680138cc7061eee Mon Sep 17 00:00:00 2001 From: FutureRave Date: Wed, 19 Oct 2022 12:18:59 +0100 Subject: [PATCH] Do not perform useless operation --- src/launcher/html/doc_host_ui_handler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/launcher/html/doc_host_ui_handler.cpp b/src/launcher/html/doc_host_ui_handler.cpp index 45fbffc..0b47ec3 100644 --- a/src/launcher/html/doc_host_ui_handler.cpp +++ b/src/launcher/html/doc_host_ui_handler.cpp @@ -70,9 +70,8 @@ HRESULT doc_host_ui_handler::ResizeBorder(LPCRECT /*prcBorder*/, IOleInPlaceUIWi return S_OK; } -HRESULT doc_host_ui_handler::TranslateAcceleratorA(LPMSG /*lpMsg*/, const GUID* pguidCmdGroup, DWORD /*nCmdID*/) +HRESULT doc_host_ui_handler::TranslateAcceleratorA(LPMSG /*lpMsg*/, const GUID* /*pguidCmdGroup*/, DWORD /*nCmdID*/) { - pguidCmdGroup = nullptr; return S_FALSE; }