From fecf4aa82bacac7a990a6a93e1f72590ea295ee5 Mon Sep 17 00:00:00 2001 From: "alecf%flett.org" Date: Wed, 4 Jun 2003 20:53:57 +0000 Subject: [PATCH] ugh, take two - remove PR_ASSERT, tabs, and extra ^M's --- tools/trace-malloc/lib/nsTraceMalloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/trace-malloc/lib/nsTraceMalloc.c b/tools/trace-malloc/lib/nsTraceMalloc.c index 816df1981eb..fe20d72b268 100644 --- a/tools/trace-malloc/lib/nsTraceMalloc.c +++ b/tools/trace-malloc/lib/nsTraceMalloc.c @@ -708,9 +708,8 @@ static callsite *calltree(int skip) /* * Time to increase the number of stack frames? */ - if (framenum >= MAX_STACKFRAMES) - break; - PR_ASSERT(framenum < MAX_STACKFRAMES); + if (framenum >= MAX_STACKFRAMES) + break; } depth = framenum;