Explorar el Código

Fixed compiler warning on gcc-4.6.

Ryan C. Gordon hace 15 años
padre
commit
4446cfa613
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/platform_windows.c

+ 1 - 0
src/platform_windows.c

@@ -457,6 +457,7 @@ static int determineUserDir(void)
              */	
              */	
     		rc = pGetUserProfileDirectoryW(accessToken, &dummy, &psize);
     		rc = pGetUserProfileDirectoryW(accessToken, &dummy, &psize);
             assert(!rc);  /* !!! FIXME: handle this gracefully. */
             assert(!rc);  /* !!! FIXME: handle this gracefully. */
+            (void) rc;
 
 
             /* Allocate memory for the profile directory */
             /* Allocate memory for the profile directory */
             wstr = (LPWSTR) __PHYSFS_smallAlloc(psize * sizeof (WCHAR));
             wstr = (LPWSTR) __PHYSFS_smallAlloc(psize * sizeof (WCHAR));