diff options
Diffstat (limited to 'exfat/libexfat')
-rw-r--r-- | exfat/libexfat/Android.mk | 2 | ||||
-rw-r--r-- | exfat/libexfat/lookup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exfat/libexfat/Android.mk b/exfat/libexfat/Android.mk index 5476486ee..64adef742 100644 --- a/exfat/libexfat/Android.mk +++ b/exfat/libexfat/Android.mk @@ -3,7 +3,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := libexfat_twrp LOCAL_MODULE_TAGS := optional -LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 +LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wno-sign-compare -Wno-address-of-packed-member -Wno-missing-field-initializers LOCAL_SRC_FILES = cluster.c io.c log.c lookup.c mount.c node.c time.c utf.c utils.c LOCAL_C_INCLUDES += $(LOCAL_PATH) LOCAL_SHARED_LIBRARIES += libc diff --git a/exfat/libexfat/lookup.c b/exfat/libexfat/lookup.c index d5bb3899b..3caef74ab 100644 --- a/exfat/libexfat/lookup.c +++ b/exfat/libexfat/lookup.c @@ -46,7 +46,7 @@ void exfat_closedir(struct exfat* ef, struct exfat_iterator* it) it->current = NULL; } -struct exfat_node* exfat_readdir(struct exfat* ef, struct exfat_iterator* it) +struct exfat_node* exfat_readdir(struct exfat* ef __unused, struct exfat_iterator* it) { if (it->current == NULL) it->current = it->parent->child; |