diff options
-rw-r--r-- | win/rfb_win32/ListViewControl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/rfb_win32/ListViewControl.cxx b/win/rfb_win32/ListViewControl.cxx index bd375e26..f7733f74 100644 --- a/win/rfb_win32/ListViewControl.cxx +++ b/win/rfb_win32/ListViewControl.cxx @@ -30,7 +30,7 @@ void ListViewControl::SelectLVItem(DWORD idListView, HWND hDlg, int numberItem) BOOL ListViewControl::InitLVColumns(DWORD idListView, HWND hDlg, int width, int columns, TCHAR *title[], DWORD mask, DWORD LVStyle, DWORD format) { - ListView_SetExtendedListViewStyle(GetDlgItem(hDlg, idListView), LVStyle); + (void)ListView_SetExtendedListViewStyle(GetDlgItem(hDlg, idListView), LVStyle); TCHAR szText[256]; LVCOLUMN lvc; int iCol; @@ -90,12 +90,12 @@ void ListViewControl::GetLVItemText(DWORD idListView, HWND hDlg, int numberItem, void ListViewControl::DeleteLVItem(DWORD idListView, HWND hDlg, int number) { - ListView_DeleteItem(GetDlgItem(hDlg, idListView), number); + (void)ListView_DeleteItem(GetDlgItem(hDlg, idListView), number); } void ListViewControl::DeleteAllLVItem(DWORD idListView, HWND hDlg) { - ListView_DeleteAllItems(GetDlgItem(hDlg, idListView)); + (void)ListView_DeleteAllItems(GetDlgItem(hDlg, idListView)); } ListViewControl::~ListViewControl() |