This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d85448
)
Use NOT_REACHED in one spot in hv.c
author
Father Chrysostomos
<sprout@cpan.org>
Tue, 14 Jan 2014 06:34:21 +0000
(22:34 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 14 Jan 2014 06:34:21 +0000
(22:34 -0800)
This reduces the size of hv.o by 32 bytes under clang.
hv.c
patch
|
blob
|
blame
|
history
diff --git
a/hv.c
b/hv.c
index
c81e5aa
..
1d322fe
100644
(file)
--- a/
hv.c
+++ b/
hv.c
@@
-1638,7
+1638,7
@@
S_clear_placeholders(pTHX_ HV *hv, U32 items)
} while (--i >= 0);
/* You can't get here, hence assertion should always fail. */
assert (items == 0);
-
assert (0)
;
+
NOT_REACHED
;
}
STATIC void