diff options
author | Christophe Fergeau | 2008-08-10 22:38:17 +0200 |
---|---|---|
committer | Matt Colyer | 2008-08-11 09:32:59 -0700 |
commit | 2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb (patch) | |
tree | 3d02c48c43bd1fce5759aa06daac22a12e1db761 /src/ifuse.c | |
parent | 020d7c23b17956098379140f1f0047ae8e78df1b (diff) | |
download | libplist-2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb.tar.gz libplist-2f2b8d7ea552cbdb5a2cf17ceba364681350f3bb.tar.bz2 |
Fix warnings about unused variables
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/ifuse.c')
-rw-r--r-- | src/ifuse.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |