aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index dec1ae93e7..afb9313cba 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -2099,6 +2099,7 @@ static bool file_owned(const char *fname)
/// @param errstr string containing an error message
/// @param str string to append to the primary error message, or NULL
static void mainerr(const char *errstr, const char *str)
+ FUNC_ATTR_NORETURN
{
char *prgname = (char *)path_tail((char_u *)argv0);