diff options
author | keramida <keramida@FreeBSD.org> | 2005-05-19 13:34:19 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2005-05-19 13:34:19 +0000 |
commit | acf4c33aac271c1abb690a07a04469313141ec13 (patch) | |
tree | d1c04506894535240016282110862b3678b50c25 /contrib | |
parent | c4f68fb95979928e0b2391c68d8d8ca0f7f07462 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | contrib/top/display.c | 6 |
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); } /* |