aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent_c.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-26 21:08:52 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-26 21:08:52 -0500
commit6bc8c7be3a808f66d2c47bfe463a1346490da7f4 (patch)
tree80d0fde12c759fa9e64e40fae2c2bcad13591398 /src/nvim/indent_c.c
parent75a1006a20c5be7add44ed709ad34ae9fb3fce7b (diff)
parent5deb06597ce72470a5cc86d4f52ee9b025288228 (diff)
downloadrneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.tar.gz
rneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.tar.bz2
rneovim-6bc8c7be3a808f66d2c47bfe463a1346490da7f4.zip
Merge pull request #1867 from elmart/nonnull-deadcode
Remove deadcode due to nonnullret funcs.
Diffstat (limited to 'src/nvim/indent_c.c')
-rw-r--r--src/nvim/indent_c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c
index 9c636ebbcc..8310f635c9 100644
--- a/src/nvim/indent_c.c
+++ b/src/nvim/indent_c.c
@@ -1593,8 +1593,6 @@ int get_c_indent(void)
* This is required, because only the most recent line obtained with
* ml_get is valid! */
linecopy = vim_strsave(ml_get(cur_curpos.lnum));
- if (linecopy == NULL)
- return 0;
/*
* In insert mode and the cursor is on a ')' truncate the line at the