From: Dave Mitchell Date: Sun, 15 Apr 2007 23:24:21 +0000 (+0000) Subject: get rid of warning due to empty dangling else in malloc.c X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e7e7e0a5a9d2df265abc069485c2cc1ff2d30ccb;p=p5sagit%2Fp5-mst-13.2.git get rid of warning due to empty dangling else in malloc.c p4raw-id: //depot/perl@30964 --- diff --git a/malloc.c b/malloc.c index 988c905..ce406d2 100644 --- a/malloc.c +++ b/malloc.c @@ -1291,7 +1291,8 @@ write2(char *mess) #ifdef DEBUGGING #undef ASSERT -#define ASSERT(p,diag) if (!(p)) botch(diag,STRINGIFY(p),__FILE__,__LINE__); else +#define ASSERT(p,diag) if (!(p)) botch(diag,STRINGIFY(p),__FILE__,__LINE__); + static void botch(char *diag, char *s, char *file, int line) {