diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-24 15:19:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-24 15:19:04 +0200 |
commit | 1c17ffa4611f4efe68c61f7cdd9ed692a866ba75 (patch) | |
tree | 009f678c60ced89e9f9185f848fb03fcd06d0b25 /src/fileio.c | |
parent | a2aa8a2b22de909619d7faa3ff5383a6224defc5 (diff) |
patch 8.0.1753: various warnings from a static analyserv8.0.1753
Problem: Various warnings from a static analyser
Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
closes #2770)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 700bd3ea53..35f4fd2c2b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1392,7 +1392,7 @@ retry: /* If the crypt layer is buffering, not producing * anything yet, need to read more. */ - if (size > 0 && decrypted_size == 0) + if (decrypted_size == 0) continue; if (linerest == 0) |