summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-19 11:19:54 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-19 11:37:59 -0400
commita25b59276cf9505a41280bad7847c33234f7e7c6 (patch)
treec5ecfc0a990e2757c079924901be073c9f0def07 /util.c
parent148f39b7de6eae9ddd59e0b0aff691d6abea7aca (diff)
downloadperl-a25b59276cf9505a41280bad7847c33234f7e7c6.tar.gz
Revert "/* NOTREACHED */ belongs *before* the unreachable."
This reverts commit 148f39b7de6eae9ddd59e0b0aff691d6abea7aca. (Still needs more work, but wanted to see how well this passed with Jenkins.)
Diffstat (limited to 'util.c')
-rw-r--r--util.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/util.c b/util.c
index f5573e186d..4666233db9 100644
--- a/util.c
+++ b/util.c
@@ -1571,8 +1571,7 @@ Perl_die_sv(pTHX_ SV *baseex)
{
PERL_ARGS_ASSERT_DIE_SV;
croak_sv(baseex);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
NORETURN_FUNCTION_END;
}
@@ -1594,8 +1593,7 @@ Perl_die_nocontext(const char* pat, ...)
va_list args;
va_start(args, pat);
vcroak(pat, &args);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
va_end(args);
NORETURN_FUNCTION_END;
}
@@ -1607,8 +1605,7 @@ Perl_die(pTHX_ const char* pat, ...)
va_list args;
va_start(args, pat);
vcroak(pat, &args);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
va_end(args);
NORETURN_FUNCTION_END;
}
@@ -1708,8 +1705,7 @@ Perl_croak_nocontext(const char *pat, ...)
va_list args;
va_start(args, pat);
vcroak(pat, &args);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
va_end(args);
}
#endif /* PERL_IMPLICIT_CONTEXT */
@@ -1720,8 +1716,7 @@ Perl_croak(pTHX_ const char *pat, ...)
va_list args;
va_start(args, pat);
vcroak(pat, &args);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
va_end(args);
}