Fixed compiler warning on gcc-4.6.
This commit is contained in:
parent
2939b26b7f
commit
4446cfa613
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue