From 26dfeb42dd515ebd0a0f1f1da3aadc11fb993041 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 28 Dec 2020 16:35:20 -0500 Subject: vim-patch:8.1.1032: warnings from clang static analyzer Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings. https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587 --- src/nvim/fileio.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index e1e34bf24a..a542bb19dd 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -1652,9 +1652,6 @@ failed: # ifdef HAVE_ICONV if (iconv_fd != (iconv_t)-1) { iconv_close(iconv_fd); -# ifndef __clang_analyzer__ - iconv_fd = (iconv_t)-1; -# endif } # endif -- cgit