Minor streamlining.

This commit is contained in:
Ryan C. Gordon 2002-08-22 10:36:19 +00:00
parent 2e0c0faa1d
commit c2a4dd6378
1 changed files with 1 additions and 2 deletions

View File

@ -1227,10 +1227,9 @@ int __PHYSFS_verifySecurity(DirHandle *h, const char *fname)
{ {
__PHYSFS_setError(ERR_SYMLINK_DISALLOWED); __PHYSFS_setError(ERR_SYMLINK_DISALLOWED);
retval = 0; retval = 0;
break;
} /* if */ } /* if */
/* break out early if path element is missing. */ /* break out early if path element is missing or it's a symlink. */
if (!retval) if (!retval)
break; break;
} /* if */ } /* if */