From: H.Merijn Brand Date: Thu, 15 Jul 2004 14:16:07 +0000 (+0000) Subject: Trailing semi-colon are not allowed on #ifdef's in ANSI X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=96466a21cd037417fedfaff143bfd5f0e48e0d75;p=p5sagit%2Fp5-mst-13.2.git Trailing semi-colon are not allowed on #ifdef's in ANSI p4raw-id: //depot/perl@23117 --- diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs index 851443b..3c65c4a 100644 --- a/ext/Storable/Storable.xs +++ b/ext/Storable/Storable.xs @@ -1843,7 +1843,7 @@ static int store_ref(pTHX_ stcxt_t *cxt, SV *sv) * Follow reference, and check if target is overloaded. */ -#ifdef SvWEAKREF; +#ifdef SvWEAKREF if (SvWEAKREF(sv)) is_weak = 1; TRACEME(("ref (0x%"UVxf") is%s weak", PTR2UV(sv), is_weak ? "" : "n't"));