archivers/wad.c
branchstable-2.0
changeset 1160 cf466b29bf6a
parent 928 0e37b8163248
--- a/archivers/wad.c	Mon Feb 21 23:54:40 2011 -0500
+++ b/archivers/wad.c	Thu Mar 31 11:23:05 2011 -0400
@@ -245,9 +245,6 @@
     PHYSFS_uint32 fileCount;
     PHYSFS_uint32 directoryOffset;
     WADentry *entry;
-    char lastDirectory[9];
-
-    lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */
 
     BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, &fileCount,&directoryOffset), NULL, 0);
     info->entryCount = fileCount;