From a230636d24b4a64a7e24ca52f6aa9a02328fa47c Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 21 Feb 2002 10:34:52 +0000 Subject: [PATCH] Fixed a missing variable declaration so that gprof compiles with -DDEBUG. --- usr.bin/gprof/arcs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/gprof/arcs.c b/usr.bin/gprof/arcs.c index c6e77103e739..b75cd55e9c85 100644 --- a/usr.bin/gprof/arcs.c +++ b/usr.bin/gprof/arcs.c @@ -646,6 +646,9 @@ compresslist() int maxexitcnt; int maxwithparentcnt; int maxnoparentcnt; +# ifdef DEBUG + const char *type; +# endif DEBUG maxexitcnt = 0; maxwithparentcnt = 0;