aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-15 20:30:31 +0300
committerZyX <kp-pav@yandex.ru>2018-04-15 20:30:31 +0300
commitcd271985267e06eab8d69abe6dd4ec25d99d0392 (patch)
tree8794132ac6ea26a3ad241c390b3a002208f6ccb7
parent1fb4282f1cc9586c687144ce155bc0535484ff25 (diff)
downloadrneovim-cd271985267e06eab8d69abe6dd4ec25d99d0392.tar.gz
rneovim-cd271985267e06eab8d69abe6dd4ec25d99d0392.tar.bz2
rneovim-cd271985267e06eab8d69abe6dd4ec25d99d0392.zip
fileio: Fix PVS/V547: split is not used
This is removed functionality, specifically no longer supported 16-bit integers.
-rw-r--r--src/nvim/fileio.c5
1 files changed, 0 insertions, 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;