mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
libphysfs: fix build
This commit is contained in:
12
libphysfs/patches/remove_unused_variable.patch
Normal file
12
libphysfs/patches/remove_unused_variable.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
--- a/archivers/wad.c
|
||||||
|
+++ b/archivers/wad.c
|
||||||
|
@@ -245,9 +245,6 @@ static int wad_load_entries(const char *
|
||||||
|
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;
|
||||||
Reference in New Issue
Block a user