From 68a8619b7b22ef9b6192438f8eac5903b3d71113 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Tue, 7 Nov 2023 19:56:16 +0100 Subject: [PATCH] [SHELL32] Remove 2 redundant initializations Addendum to 6146fd0 (r54688) and 99b2e3d (r54979). --- dll/win32/shell32/CDefaultContextMenu.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/dll/win32/shell32/CDefaultContextMenu.cpp b/dll/win32/shell32/CDefaultContextMenu.cpp index 0a3e1cd9408..0e1bdb99083 100644 --- a/dll/win32/shell32/CDefaultContextMenu.cpp +++ b/dll/win32/shell32/CDefaultContextMenu.cpp @@ -504,7 +504,6 @@ CDefaultContextMenu::AddStaticContextMenusToMenu( mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE | MIIM_DATA; mii.fType = MFT_STRING; - mii.dwTypeData = NULL; POSITION it = m_StaticEntries.GetHeadPosition(); bool first = true; @@ -514,7 +513,6 @@ CDefaultContextMenu::AddStaticContextMenusToMenu( BOOL forceFirstPos = FALSE; fState = MFS_ENABLED; - mii.dwTypeData = NULL; /* set first entry as default */ if (first)