aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sshfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshfs.c b/sshfs.c
index f9ae9eb..acea663 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -2495,7 +2495,7 @@ static int sshfs_open_common(const char *path, mode_t mode,
uint32_t pflags = 0;
struct iovec iov;
uint8_t type;
- uint64_t wrctr;
+ uint64_t wrctr = 0;
if (sshfs.dir_cache)
wrctr = cache_get_write_ctr();