Date:2012-03-29 21:05:09 (11 years 11 months ago)
Author:kyak
Commit:505ce6b3060431b6d9794709213bf4fe2e0665df
Message:libphysfs: fix build

Files: libphysfs/patches/remove_unused_variable.patch (1 diff)

Change Details

libphysfs/patches/remove_unused_variable.patch
1--- a/archivers/wad.c
2@@ -245,9 +245,6 @@ static int wad_load_entries(const char *
3     PHYSFS_uint32 fileCount;
4     PHYSFS_uint32 directoryOffset;
5     WADentry *entry;
6- char lastDirectory[9];
7-
8- lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */
9
10     BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, &fileCount,&directoryOffset), NULL, 0);
11     info->entryCount = fileCount;

Archive Download the corresponding diff file



interactive