From bcd8789609476c5ad845d186be13f338c951a068 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 14 Aug 2015 00:18:36 +0300 Subject: ex_getln: Return something from hist_type2char without asserts Otherwise QuickBuild shows a warning that control may reach end of non-void function. --- src/nvim/ex_getln.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 7be8d722b8..2bfe574b1d 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -4783,6 +4783,7 @@ int hist_type2char(int type) assert(false); } } + return NUL; } /* -- cgit