diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-23 14:17:33 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 01:33:33 +0100 |
commit | d228b8a93e8586c36c1b1aa71d0d3dc8c52f137e (patch) | |
tree | 9f80f79c3a783c7ebdf6e94c659532626ff1aed5 /src/nvim/indent_c.c | |
parent | ce5b476dd9aeb7c2b5094ca517ba76abe7e70a00 (diff) | |
download | rneovim-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.c | 2 |
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 |