mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
Silence unused variable warnings
(Android) undefine HAVE_COMPRESSION - gets defined in griffin.c now
This commit is contained in:
parent
49052ee6a8
commit
119a51be76
@ -55,7 +55,7 @@ else
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS += -Wall -pthread -Wno-unused-function -fno-stack-protector -funroll-loops -DNDEBUG -DRARCH_MOBILE -DHAVE_GRIFFIN -DANDROID -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_FBO -DHAVE_OVERLAY -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DGLSL_DEBUG -DHAVE_DYLIB -DHAVE_GLSL -DHAVE_MENU -DHAVE_RGUI -DHAVE_ZLIB -DINLINE=inline -DLSB_FIRST -DHAVE_THREADS -D__LIBRETRO__ -DHAVE_RSOUND -DHAVE_NETPLAY -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_FILTERS_BUILTIN
|
||||
LOCAL_CFLAGS += -DHAVE_7ZIP -DHAVE_COMPRESSION -D_7ZIP_ST
|
||||
LOCAL_CFLAGS += -DHAVE_7ZIP -D_7ZIP_ST
|
||||
|
||||
LOCAL_CFLAGS += -O2
|
||||
|
||||
|
@ -146,8 +146,12 @@ struct string_list *compressed_zip_file_list_new(const char *path,
|
||||
|
||||
size_t bytes_read = -1;
|
||||
bool finished_reading = false;
|
||||
unzFile *zipfile = unzOpen( path );
|
||||
if ( ! zipfile )
|
||||
unzFile *zipfile = (unzFile*)unzOpen( path );
|
||||
|
||||
(void)finished_reading;
|
||||
(void)bytes_read;
|
||||
|
||||
if (!zipfile)
|
||||
{
|
||||
RARCH_ERR("Could not open zipfile %s.\n",path);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user