0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1753: various warnings from a static analyser

Problem:    Various warnings from a static analyser
Solution:   Add type casts, remove unneeded conditions. (Christian Brabandt,
            closes #2770)
This commit is contained in:
Bram Moolenaar
2018-04-24 15:19:04 +02:00
parent a2aa8a2b22
commit 1c17ffa461
9 changed files with 15 additions and 13 deletions

View File

@@ -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)