summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Pasanen <dan.pasanen@gmail.com>2015-11-11 18:09:31 +0100
committerDees Troy <dees_troy@teamw.in>2015-11-26 05:31:34 +0100
commit0ae529eb462d88b085aba4c98ca146ea08d59a83 (patch)
tree40fb7a06d69668c00ea4c1dd7293dba933b6bdb3
parenttwrp: fix incompatible pointer to integer conversions (diff)
downloadandroid_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar.gz
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar.bz2
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar.lz
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar.xz
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.tar.zst
android_bootable_recovery-0ae529eb462d88b085aba4c98ca146ea08d59a83.zip
Diffstat (limited to '')
-rw-r--r--fuse_sideload.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fuse_sideload.c b/fuse_sideload.c
index fd06fbf1b..f09b02601 100644
--- a/fuse_sideload.c
+++ b/fuse_sideload.c
@@ -175,7 +175,6 @@ static void fill_attr(struct fuse_attr* attr, struct fuse_data* fd,
}
static int handle_getattr(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
- const struct fuse_getattr_in* req = data;
struct fuse_attr_out out;
memset(&out, 0, sizeof(out));
out.attr_valid = 10;
@@ -220,8 +219,6 @@ static int handle_lookup(void* data, struct fuse_data* fd,
}
static int handle_open(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
- const struct fuse_open_in* req = data;
-
if (hdr->nodeid == EXIT_FLAG_ID) return -EPERM;
if (hdr->nodeid != PACKAGE_FILE_ID) return -ENOENT;