summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSylvestre Gallon <syl@cvs.openbsd.org>2013-10-07 18:22:19 +0000
committerSylvestre Gallon <syl@cvs.openbsd.org>2013-10-07 18:22:19 +0000
commit473541c2b0139f5d26d7c505eeadc5f2b7f9a57e (patch)
tree2c6b3de787f1cda7c4476de4cc3fcf8a080886f6 /lib
parent66c5be85539ca3e0c78f3202a917b76dd6ea4c87 (diff)
Remove an unused variable and a useless bzero
Diffstat (limited to 'lib')
-rw-r--r--lib/libfuse/fuse_ops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libfuse/fuse_ops.c b/lib/libfuse/fuse_ops.c
index a74068694c4..70087972364 100644
--- a/lib/libfuse/fuse_ops.c
+++ b/lib/libfuse/fuse_ops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_ops.c,v 1.10 2013/10/07 18:20:31 syl Exp $ */
+/* $OpenBSD: fuse_ops.c,v 1.11 2013/10/07 18:22:18 syl Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -94,12 +94,10 @@ static int
ifuse_ops_getattr(struct fuse *f, struct fusebuf *fbuf)
{
struct fuse_vnode *vn;
- struct stat st;
char *realname;
DPRINTF("Opcode:\tgetattr\n");
DPRINTF("Inode:\t%llu\n", (unsigned long long)fbuf->fb_ino);
- bzero(&st, sizeof(st));
bzero(&fbuf->fb_vattr, sizeof(fbuf->fb_vattr));