Skip to content

Commit

Permalink
Fixed compiler warning on gcc-4.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 31, 2011
1 parent 2939b26 commit 4446cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform_windows.c
Expand Up @@ -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));
Expand Down

0 comments on commit 4446cfa

Please sign in to comment.