summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
commit2c519cf3bfe76083767ac94c674d2e161ed36587 (patch)
tree6386fbe43e4c710c1a31fe28ea3989cfe35e96a8 /src/fileio.c
parentf7e47af7760fe054cb645dac9a1e96b23c85804d (diff)
downloadvim-git-2c519cf3bfe76083767ac94c674d2e161ed36587.tar.gz
patch 8.1.1032: warnings from clang static analyzerv8.1.1032
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 4060f69d3..22a735f55 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2322,10 +2322,7 @@ failed:
vim_free(fenc);
#ifdef USE_ICONV
if (iconv_fd != (iconv_t)-1)
- {
iconv_close(iconv_fd);
- iconv_fd = (iconv_t)-1;
- }
#endif
if (!read_buffer && !read_stdin)