OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | --- a/archivers/wad.c |
2 | +++ b/archivers/wad.c |
3 | @@ -245,9 +245,6 @@ static int wad_load_entries(const char * |
4 | PHYSFS_uint32 fileCount; |
5 | PHYSFS_uint32 directoryOffset; |
6 | WADentry *entry; |
7 | - char lastDirectory[9]; |
8 | - |
9 | - lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */ |
10 | |
11 | BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, &fileCount,&directoryOffset), NULL, 0); |
12 | info->entryCount = fileCount; |
13 |