Removed unused variable.

This commit is contained in:
Ryan C. Gordon 2017-07-17 12:39:43 -04:00
parent 0f6edf20b5
commit 787d21c2b7
1 changed files with 0 additions and 2 deletions

View File

@ -3052,8 +3052,6 @@ static __PHYSFS_DirTreeEntry *addAncestors(__PHYSFS_DirTree *dt, char *name)
if (sep)
{
const size_t namelen = (sep - name) + 1;
*sep = '\0'; /* chop off last piece. */
retval = (__PHYSFS_DirTreeEntry *) __PHYSFS_DirTreeFind(dt, name);