Skip to content

Commit

Permalink
Took out a redundant memory failure check.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 14, 2001
1 parent 2c7f714 commit 525d015
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions platform/win32.c
Expand Up @@ -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
{
Expand Down

0 comments on commit 525d015

Please sign in to comment.