diff --git a/android/phoenix/jni/Android.mk b/android/phoenix/jni/Android.mk index 8fb288d01a..ea11811074 100644 --- a/android/phoenix/jni/Android.mk +++ b/android/phoenix/jni/Android.mk @@ -5,7 +5,7 @@ LOCAL_MODULE := retroarch-jni RARCH_DIR := ../../.. LOCAL_CFLAGS += -std=gnu99 -Wall -DRARCH_DUMMY_LOG -DHAVE_ZLIB -DHAVE_MMAP -DRARCH_INTERNAL LOCAL_LDLIBS := -llog -lz -LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/libretro-common/file/file_extract.c $(RARCH_DIR)/libretro-common/file/file_path.c $(RARCH_DIR)/file_ops.c $(RARCH_DIR)/libretro-common/string/string_list.c $(RARCH_DIR)/libretro-common/compat/compat.c +LOCAL_SRC_FILES := apk-extract/apk-extract.c $(RARCH_DIR)/libretro-common/file/file_extract.c $(RARCH_DIR)/libretro-common/file/file_path.c $(RARCH_DIR)/file_ops.c $(RARCH_DIR)/libretro-common/string/string_list.c $(RARCH_DIR)/libretro-common/compat/compat.c $(RARCH_DIR)/libretro-common/file/retro_file.c LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(RARCH_DIR)/libretro-common/include/ diff --git a/libretro-common/file/retro_file.c b/libretro-common/file/retro_file.c index 7e7823492e..1d4b1ee02b 100644 --- a/libretro-common/file/retro_file.c +++ b/libretro-common/file/retro_file.c @@ -76,6 +76,7 @@ RFILE *retro_fopen(const char *path, unsigned mode, ssize_t len) (void)mode_str; (void)mode_int; + (void)flags; switch (mode) { @@ -162,7 +163,6 @@ ssize_t retro_fseek(RFILE *stream, ssize_t offset, int whence) ssize_t retro_ftell(RFILE *stream) { - int ret = 0; if (!stream) return -1; #if defined(VITA) || defined(PSP)