From 86279cefae74ead8c740575d294ef06e12aa7da8 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Fri, 4 Apr 2014 14:24:13 -0300 Subject: Remove more OOM error handling code From the functions: - ExpandBufnames - buf_modname() - do_autocmd_event() - ff_create_stack_element() - ff_get_visited_list() - ins_complete() - msg_show_console_dialog() - prt_find_resource() - vim_findfile_init() TODO: refactor msg_show_console_dialog() to make sure it doesn't ever return NULL. --- src/diff.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/diff.c') diff --git a/src/diff.c b/src/diff.c index eb1325b76e..90bdbf0850 100644 --- a/src/diff.c +++ b/src/diff.c @@ -1403,7 +1403,6 @@ static void diff_read(int idx_orig, int idx_new, char_u *fname) notset = TRUE; } -done: fclose(fd); } -- cgit