aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2016-01-07 12:10:15 +0100
committeroni-link <knil.ino@gmail.com>2016-01-07 12:31:05 +0100
commit23669bd7df57b2562e766570d587df942c3b57d6 (patch)
tree82bb13203df1dbce6f8d1ccde0f7968a2a41ad05
parent2d39eea9f06b0cdbf9e6a6c31204c3d31235c39d (diff)
downloadrneovim-23669bd7df57b2562e766570d587df942c3b57d6.tar.gz
rneovim-23669bd7df57b2562e766570d587df942c3b57d6.tar.bz2
rneovim-23669bd7df57b2562e766570d587df942c3b57d6.zip
coverity/62611: Nesting level does not match indentation
The nested line was the else-branch of an if-then-else block that dealt with cryptography, but after commit 85338fe1d5a56f82546e16c305c2048c081771e0 (Remove cryptography) removed the if-then part, the indentation of this line was not adjusted.
-rw-r--r--src/nvim/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 23292ff4ac..05cb8f8f8c 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -1878,7 +1878,8 @@ failed:
}
if (msg_add_fileformat(fileformat))
c = TRUE;
- msg_add_lines(c, (long)linecnt, filesize);
+
+ msg_add_lines(c, (long)linecnt, filesize);
xfree(keep_msg);
keep_msg = NULL;