diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-23 18:31:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-23 18:31:46 +0300 |
commit | dd5cf95777c2c58cf366d6a201eb6e9aa2795435 (patch) | |
tree | 3344696a2efd9ad4ce829371c89dbbb4fd53b406 /plugins/Popup/src/history.cpp | |
parent | 28a0d995afee0d9037a9730f75b6302952e2979a (diff) |
warning fix
Diffstat (limited to 'plugins/Popup/src/history.cpp')
-rw-r--r-- | plugins/Popup/src/history.cpp | 4 |
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));
|