Fixed compiler warning on gcc-4.6.

This commit is contained in:
Ryan C. Gordon 2011-03-31 11:24:46 -04:00
parent 2939b26b7f
commit 4446cfa613
1 changed files with 1 additions and 0 deletions

View File

@ -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));