summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;