summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-19 07:32:56 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-20 07:53:46 +0000
commit0dbb1585a715e56312e579a5f0e7f82241b38352 (patch)
tree7d159917164aa7ac921935b3fbff5b5d86aec0c7 /mg.c
parent78b9063ba31cc2a48b78683b758601c04e4eb340 (diff)
downloadperl-0dbb1585a715e56312e579a5f0e7f82241b38352.tar.gz
Attribute configuration
Message-ID: <20050519173256.GA29039@petdance.com> p4raw-id: //depot/perl@24508
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mg.c b/mg.c
index baad04f718..1611d1fb7d 100644
--- a/mg.c
+++ b/mg.c
@@ -468,12 +468,7 @@ Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
{
(void)sv; (void)mg;
Perl_croak(aTHX_ PL_no_modify);
- /* NOT REACHED */
-#ifndef HASATTRIBUTE_NORETURN
- /* No __attribute__((noreturn)), so the compiler doesn't know that
- * croak never returns. */
- return 0;
-#endif
+ NORETURN_FUNCTION_END;
}
U32