From 0ae529eb462d88b085aba4c98ca146ea08d59a83 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Wed, 11 Nov 2015 11:09:31 -0600 Subject: fuse_sideload: remove unused variables causing warnings Change-Id: I5d7baa16df2bdecaef4f3e61db41251bc589615a --- fuse_sideload.c | 3 --- 1 file changed, 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; -- cgit v1.2.3