aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:47:24 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:47:24 +0100
commit4c33d0bd98e6f3ddfb368917952b9a8d85594229 (patch)
treec74538ecb5b53bc86482056ed04b1c4848cf5763 /win
parente67bb2dfbb9028fb10b4c219871d1159d9eeb418 (diff)
downloadtigervnc-4c33d0bd98e6f3ddfb368917952b9a8d85594229.tar.gz
tigervnc-4c33d0bd98e6f3ddfb368917952b9a8d85594229.zip
Compiler doesn't like us not checking return values here
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/ListViewControl.cxx6
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()