diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 17:10:47 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 19:40:29 +0100 |
| commit | 024e456ddadd67f212d84665501869c568a106fb (patch) | |
| tree | 1fbc32e0c155cc2c656eae17c2188ed480e54f90 /vis.h | |
| parent | 3435cf05fb063d92e1cfa3cd7ccb71ae5f792411 (diff) | |
| download | vis-024e456ddadd67f212d84665501869c568a106fb.tar.gz vis-024e456ddadd67f212d84665501869c568a106fb.tar.xz | |
Fix warnings found by static analyzer
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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?) */ |
