From cd271985267e06eab8d69abe6dd4ec25d99d0392 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 15 Apr 2018 20:30:31 +0300 Subject: fileio: Fix PVS/V547: split is not used This is removed functionality, specifically no longer supported 16-bit integers. --- src/nvim/fileio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 31f970ef7a..c67beeb989 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -287,7 +287,6 @@ readfile ( int skip_read = false; context_sha256_T sha_ctx; int read_undo_file = FALSE; - int split = 0; /* number of split lines */ linenr_T linecnt; int error = FALSE; /* errors encountered */ int ff_error = EOL_UNKNOWN; /* file format with errors */ @@ -1822,10 +1821,6 @@ failed: STRCAT(IObuff, _("[CR missing]")); c = TRUE; } - if (split) { - STRCAT(IObuff, _("[long lines split]")); - c = TRUE; - } if (notconverted) { STRCAT(IObuff, _("[NOT converted]")); c = TRUE; -- cgit