Skip to content

Commit

Permalink
fusetrace_ll.cc: reduce scope of 'int err' in main()
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed Mar 11, 2013
1 parent 5c1dc92 commit 94d370e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fusetrace/fusetrace_ll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit 94d370e

Please sign in to comment.