summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-23 18:31:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-23 18:31:46 +0300
commitdd5cf95777c2c58cf366d6a201eb6e9aa2795435 (patch)
tree3344696a2efd9ad4ce829371c89dbbb4fd53b406 /plugins/Popup/src
parent28a0d995afee0d9037a9730f75b6302952e2979a (diff)
warning fix
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r--plugins/Popup/src/history.cpp4
1 files changed, 3 insertions, 1 deletions
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));