[ros-diffs] [gedmurphy] 22161: more gcc 4.1 fixes

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Thu Jun 1 23:18:23 CEST 2006


Author: gedmurphy
Date: Fri Jun  2 01:18:22 2006
New Revision: 22161

URL: http://svn.reactos.ru/svn/reactos?rev=22161&view=rev
Log:
more gcc 4.1 fixes

Modified:
    trunk/reactos/base/applications/sndvol32/sndvol32.c

Modified: trunk/reactos/base/applications/sndvol32/sndvol32.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/base/applications/sndvol32/sndvol32.c?rev=22161&r1=22160&r2=22161&view=diff
==============================================================================
--- trunk/reactos/base/applications/sndvol32/sndvol32.c (original)
+++ trunk/reactos/base/applications/sndvol32/sndvol32.c Fri Jun  2 01:18:22 2006
@@ -332,8 +332,8 @@
     {
         Context->SelectedLine = LineID;
         
-        ListView_DeleteAllItems(GetDlgItem(Context->hwndDlg,
-                                  IDC_CONTROLS));
+        (void)ListView_DeleteAllItems(GetDlgItem(Context->hwndDlg,
+                                      IDC_CONTROLS));
         
         Context->tmp = 0;
         SndMixerEnumConnections(Context->Mixer,
@@ -497,8 +497,8 @@
             /* initialize the list view control */
             hwndControls = GetDlgItem(hwndDlg,
                                       IDC_CONTROLS);
-            ListView_SetExtendedListViewStyle(hwndControls,
-                                              LVS_EX_CHECKBOXES);
+            (void)ListView_SetExtendedListViewStyle(hwndControls,
+                                                    LVS_EX_CHECKBOXES);
 
             GetClientRect(hwndControls,
                           &rcClient);




More information about the Ros-diffs mailing list