summaryrefslogtreecommitdiffstats
path: root/contrib/top
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-05-19 13:34:19 +0000
committerkeramida <keramida@FreeBSD.org>2005-05-19 13:34:19 +0000
commitacf4c33aac271c1abb690a07a04469313141ec13 (patch)
treed1c04506894535240016282110862b3678b50c25 /contrib/top
parentc4f68fb95979928e0b2391c68d8d8ca0f7f07462 (diff)
downloadFreeBSD-src-acf4c33aac271c1abb690a07a04469313141ec13.zip
FreeBSD-src-acf4c33aac271c1abb690a07a04469313141ec13.tar.gz
The 'text' argument of u_header() is not used, so we don't need to
trim_header() it. Noticed by: bde
Diffstat (limited to 'contrib/top')
-rw-r--r--contrib/top/display.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/top/display.c b/contrib/top/display.c
index 08814b3..9de8952 100644
--- a/contrib/top/display.c
+++ b/contrib/top/display.c
@@ -688,11 +688,6 @@ u_header(text)
char *text; /* ignored */
{
- char *s;
-
- s = trim_header(text);
- if (s != NULL)
- text = s;
if (header_status == ERASE)
{
@@ -701,7 +696,6 @@ char *text; /* ignored */
clear_eol(header_length);
header_status = OFF;
}
- free(s);
}
/*
OpenPOWER on IntegriCloud