]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed std::vector override via memset.
authorlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 08:42:55 +0000 (10:42 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 08:42:55 +0000 (10:42 +0200)
WinMute/Settings_GeneralDlg.cpp

index 33a50fde9fe69475ac1f9c7d54b541f95bb0d107..a9ffbb54d20cfda9b84048388d5ba90e2676a3e6 100644 (file)
@@ -96,7 +96,6 @@ INT_PTR CALLBACK Settings_GeneralDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPA
       LoadSettingsGeneralDlgTranslation(hDlg);
 
       SettingsGeneralData *dlgData = new SettingsGeneralData;
-      memset(dlgData, 0, sizeof(*dlgData));
       dlgData->langModules = WMi18n::GetInstance().GetAvailableLanguages();
       dlgData->settings = reinterpret_cast<WMSettings *>(lParam);
       assert(dlgData->settings != nullptr);