diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-12 16:46:02 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-12 16:46:02 +0200 |
commit | 319f0dde18afb6f4abf9258d6e74e762077b4e86 (patch) | |
tree | e87a73078206d94f9165b6e1d29b951b1cbf07b5 /sshfs.c | |
parent | 82766d1093daccc933bfcdae44d3634db61806fe (diff) | |
download | sshfs-319f0dde18afb6f4abf9258d6e74e762077b4e86.tar sshfs-319f0dde18afb6f4abf9258d6e74e762077b4e86.tar.gz sshfs-319f0dde18afb6f4abf9258d6e74e762077b4e86.tar.bz2 sshfs-319f0dde18afb6f4abf9258d6e74e762077b4e86.zip |
sshfs_open_commin(): fix compiler warning
wrctr cannot be used without having been initialized,
but the compiler is too dumb to see that.
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |