summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-21 10:34:52 +0000
committerbde <bde@FreeBSD.org>2002-02-21 10:34:52 +0000
commita230636d24b4a64a7e24ca52f6aa9a02328fa47c (patch)
tree5b750c069d9e1e5ff8b9795a9a056afac3fd12dc /usr.bin/gprof
parentc07193f5e6cc00015182db29333a116a0f386736 (diff)
downloadFreeBSD-src-a230636d24b4a64a7e24ca52f6aa9a02328fa47c.zip
FreeBSD-src-a230636d24b4a64a7e24ca52f6aa9a02328fa47c.tar.gz
Fixed a missing variable declaration so that gprof compiles with -DDEBUG.
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/arcs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/gprof/arcs.c b/usr.bin/gprof/arcs.c
index c6e7710..b75cd55 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;
OpenPOWER on IntegriCloud