From dd5cf95777c2c58cf366d6a201eb6e9aa2795435 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Sep 2018 18:31:46 +0300 Subject: warning fix --- plugins/Popup/src/history.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/Popup') diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp index 683ed6ec23..f1adc8eb80 100644 --- a/plugins/Popup/src/history.cpp +++ b/plugins/Popup/src/history.cpp @@ -127,8 +127,10 @@ static INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM, LPARAM lPara { oldWidth = 0; HWND hwndList = GetDlgItem(hwnd, IDC_POPUP_LIST); - for (auto &it : arPopupHistory) + for (auto &it : arPopupHistory) { + (void)(it); ListBox_SetItemData(hwndList, ListBox_AddString(hwndList, L""), 0); + } Window_SetIcon_IcoLib(hwnd, GetIconHandle(IDI_HISTORY)); -- cgit v1.2.3