Просмотр исходного кода

Fixed compiler warning on gcc-4.6.

Ryan C. Gordon 15 лет назад
Родитель
Сommit
4446cfa613
1 измененных файлов с 1 добавлено и 0 удалено
  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));