summaryrefslogtreecommitdiff
path: root/fusetrace/fusetrace_ll.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fusetrace/fusetrace_ll.cc')
-rw-r--r--fusetrace/fusetrace_ll.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
index 1b0d45f3c2d..f9e90dc4894 100644
--- a/fusetrace/fusetrace_ll.cc
+++ b/fusetrace/fusetrace_ll.cc
@@ -1160,7 +1160,6 @@ int main(int argc, char *argv[])
struct fuse_args args = FUSE_ARGS_INIT(newargc, newargv);
struct fuse_chan *ch;
char *mountpoint;
- int err = -1;
if (fuse_parse_cmdline(&args, &mountpoint, NULL, NULL) != -1 &&
(ch = fuse_mount(mountpoint, &args)) != NULL) {
@@ -1171,6 +1170,7 @@ int main(int argc, char *argv[])
NULL);
if (se != NULL) {
if (fuse_set_signal_handlers(se) != -1) {
+ int err = -1;
fuse_session_add_chan(se, ch);
err = fuse_session_loop(se);
fuse_remove_signal_handlers(se);