Took out a redundant memory failure check.

This commit is contained in:
Ryan C. Gordon 2001-11-14 23:46:41 +00:00
parent 2c7f714b6b
commit 525d015984
1 changed files with 0 additions and 3 deletions

View File

@ -355,10 +355,7 @@ char *__PHYSFS_platformRealPath(const char *path)
* We'll need to check for "." and ".." dirs, though, just in case.
*/
if ((path[0] == '\\') && (path[1] == '\\'))
{
BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
strcpy(retval, path);
} /* if */
else
{