summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-04-15 23:24:21 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-04-15 23:24:21 +0000
commite7e7e0a5a9d2df265abc069485c2cc1ff2d30ccb (patch)
treefffffa3ed67d30c4827978100df1fd4e97979538 /malloc.c
parentb7185faf27223edfa3fad21c87d7dbf476059a5f (diff)
downloadperl-e7e7e0a5a9d2df265abc069485c2cc1ff2d30ccb.tar.gz
get rid of warning due to empty dangling else in malloc.c
p4raw-id: //depot/perl@30964
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 988c905a79..ce406d2f84 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)
{