From fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 6 Jun 2017 11:02:11 -0400 Subject: Fixed compiler warning --- sshfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sshfs.c b/sshfs.c index bfa3346..7af8657 100644 --- a/sshfs.c +++ b/sshfs.c @@ -2563,7 +2563,8 @@ static int sshfs_fsync(const char *path, int isdatasync, int err; (void) isdatasync; - if (err = sshfs_flush(path, fi)) + err = sshfs_flush(path, fi); + if (err) return err; if (!sshfs.ext_fsync) -- cgit v1.2.3