Ver Fonte

Fixed compiler warning on gcc-4.6.

Ryan C. Gordon há 15 anos atrás
pai
commit
4446cfa613
1 ficheiros alterados com 1 adições e 0 exclusões
  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);
             assert(!rc);  /* !!! FIXME: handle this gracefully. */
+            (void) rc;
 
             /* Allocate memory for the profile directory */
             wstr = (LPWSTR) __PHYSFS_smallAlloc(psize * sizeof (WCHAR));