summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-27 20:51:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-27 20:51:20 +0200
commit48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5 (patch)
tree97cf4554b6773d64a1dfbdc5c0d3eab9b4397165
parentMerge "applypatch: Remove the obsolete support for "applypatch -s"." am: d5ae4253c1 am: 22b1fa7d61 (diff)
parentMerge "libfusesideload: Clean up the CFLAGS for the module." am: 416c55cf43 (diff)
downloadandroid_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar.gz
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar.bz2
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar.lz
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar.xz
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.tar.zst
android_bootable_recovery-48e6d280da2251a6dcaa6df9cbd21d4c0b92c4f5.zip
Diffstat (limited to '')
-rw-r--r--Android.mk5
-rw-r--r--fuse_sideload.cpp6
2 files changed, 6 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 01c72a476..5ce5cd7dc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,11 +22,10 @@ RECOVERY_FSTAB_VERSION := 2
# ===============================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := fuse_sideload.cpp
-LOCAL_CLANG := true
-LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter -Werror
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
LOCAL_MODULE := libfusesideload
-LOCAL_STATIC_LIBRARIES := libcutils libc libcrypto
+LOCAL_STATIC_LIBRARIES := libcrypto
include $(BUILD_STATIC_LIBRARY)
# libmounts (static library)
diff --git a/fuse_sideload.cpp b/fuse_sideload.cpp
index 1725e8823..279a976ad 100644
--- a/fuse_sideload.cpp
+++ b/fuse_sideload.cpp
@@ -226,11 +226,13 @@ static int handle_open(void* /* data */, struct fuse_data* fd, const struct fuse
return NO_STATUS;
}
-static int handle_flush(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
+static int handle_flush(void* /* data */, struct fuse_data* /* fd */,
+ const struct fuse_in_header* /* hdr */) {
return 0;
}
-static int handle_release(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
+static int handle_release(void* /* data */, struct fuse_data* /* fd */,
+ const struct fuse_in_header* /* hdr */) {
return 0;
}