Remove nonnullret deadcode: vim_strsave.

This commit is contained in:
Eliseo Martínez
2015-01-23 14:17:33 +01:00
parent ce5b476dd9
commit d228b8a93e
6 changed files with 14 additions and 31 deletions

View File

@@ -1633,11 +1633,6 @@ change_indent (
* put it back again the way we wanted it.
*/
if (State & VREPLACE_FLAG) {
/* If orig_line didn't allocate, just return. At least we did the job,
* even if you can't backspace. */
if (orig_line == NULL)
return;
/* Save new line */
new_line = vim_strsave(get_cursor_line_ptr());