From 024e456ddadd67f212d84665501869c568a106fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 8 Nov 2015 17:10:47 +0100 Subject: Fix warnings found by static analyzer --- vis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 80b3f3b..0399d3c 100644 --- a/vis.h +++ b/vis.h @@ -104,7 +104,7 @@ int vis_run(Vis*, int argc, char *argv[]); /* terminate editing session, given status will be the return value of vis_run */ void vis_exit(Vis*, int status); /* emergency exit, print given message, perform minimal ui cleanup and exit process */ -void vis_die(Vis*, const char *msg, ...); +void vis_die(Vis*, const char *msg, ...) __attribute__((noreturn)); /* user facing modes are: NORMAL, VISUAL, VISUAL_LINE, PROMPT, INSERT, REPLACE. * the others should be considered as implementation details (TODO: do not expose them?) */ -- cgit v1.2.3