From 2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sun, 10 Aug 2008 22:38:17 +0200 Subject: Fix warnings about unused variables Signed-off-by: Matt Colyer --- src/ifuse.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ifuse.c') diff --git a/src/ifuse.c b/src/ifuse.c index 9fc1ad8..aa06070 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -65,7 +65,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) { static int ifuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi) { int i; - char **dirs, **filename; + char **dirs; AFClient *afc = fuse_get_context()->private_data; dirs = afc_get_dir_list(afc, path); @@ -173,8 +173,7 @@ static int ifuse_release(const char *path, struct fuse_file_info *fi){ } void *ifuse_init(struct fuse_conn_info *conn) { - char *response = (char*)malloc(sizeof(char) * 2048); - int bytes = 0, port = 0, i = 0; + int port = 0; char* host_id = NULL; AFClient *afc = NULL; -- cgit v1.1-32-gdbae