summaryrefslogtreecommitdiff
path: root/utf8.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 /utf8.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 'utf8.c')
-rw-r--r--utf8.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utf8.c b/utf8.c
index 264ddb7029..060aadab53 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1423,8 +1423,7 @@ Perl__to_upper_title_latin1(pTHX_ const U8 c, U8* p, STRLEN *lenp, const char S_
return 'S';
default:
Perl_croak(aTHX_ "panic: to_upper_title_latin1 did not expect '%c' to map to '%c'", c, LATIN_SMALL_LETTER_Y_WITH_DIAERESIS);
- /* NOTREACHED */
- assert(0);
+ assert(0); /* NOTREACHED */
}
}
@@ -2454,8 +2453,7 @@ Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV *listsv, I32 m
Perl_croak(aTHX_
"Can't find Unicode property definition \"%"SVf"\"",
SVfARG(retval));
- /* NOTREACHED */
- NOT_REACHED;
+ NOT_REACHED; /* NOTREACHED */
}
} /* End of calling the module to find the swash */