summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util.c b/util.c
index 0005b432ea..3fa7991de3 100644
--- a/util.c
+++ b/util.c
@@ -925,7 +925,7 @@ Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift
/* This function must only ever be called on a scalar with study magic,
but those do not happen any more. */
Perl_croak(aTHX_ "panic: screaminstr");
- return NULL;
+ NORETURN_FUNCTION_END;
}
/*
@@ -1568,7 +1568,7 @@ Perl_die_sv(pTHX_ SV *baseex)
PERL_ARGS_ASSERT_DIE_SV;
croak_sv(baseex);
assert(0); /* NOTREACHED */
- return NULL;
+ NORETURN_FUNCTION_END;
}
/*
@@ -1591,7 +1591,7 @@ Perl_die_nocontext(const char* pat, ...)
vcroak(pat, &args);
assert(0); /* NOTREACHED */
va_end(args);
- return NULL;
+ NORETURN_FUNCTION_END;
}
#endif /* PERL_IMPLICIT_CONTEXT */
@@ -1603,7 +1603,7 @@ Perl_die(pTHX_ const char* pat, ...)
vcroak(pat, &args);
assert(0); /* NOTREACHED */
va_end(args);
- return NULL;
+ NORETURN_FUNCTION_END;
}
/*