- Make ROS buildable with GCC 4.1
[reactos.git] / reactos / base / applications / servman / query.c
index bd07ccf..c9212c9 100644 (file)
@@ -230,8 +230,8 @@ VOID InitListViewImage(VOID)
     ImageList_AddIcon(hLarge, hLgIconItem);\r
 \r
     /* assign the image to the list view */\r
-    ListView_SetImageList(hListView, hSmall, LVSIL_SMALL);\r
-    ListView_SetImageList(hListView, hLarge, LVSIL_NORMAL);\r
+    (void)ListView_SetImageList(hListView, hSmall, LVSIL_SMALL);\r
+    (void)ListView_SetImageList(hListView, hLarge, LVSIL_NORMAL);\r
 \r
 }\r
 \r
@@ -247,7 +247,7 @@ RefreshServiceList(VOID)
     DWORD Index;\r
     LPCTSTR Path = _T("System\\CurrentControlSet\\Services\\%s");\r
 \r
-    ListView_DeleteAllItems(hListView);\r
+    (void)ListView_DeleteAllItems(hListView);\r
 \r
     InitListViewImage();\r
 \r