aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent_c.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-01-23 14:17:33 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2015-01-27 01:33:33 +0100
commitd228b8a93e8586c36c1b1aa71d0d3dc8c52f137e (patch)
tree9f80f79c3a783c7ebdf6e94c659532626ff1aed5 /src/nvim/indent_c.c
parentce5b476dd9aeb7c2b5094ca517ba76abe7e70a00 (diff)
downloadrneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.tar.gz
rneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.tar.bz2
rneovim-d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e.zip
Remove nonnullret deadcode: vim_strsave.
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