summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorJim Warner <james.warner@comcast.net>2020-03-11 00:00:00 -0500
committerCraig Small <csmall@dropbear.xyz>2020-04-10 14:37:15 +1000
commit11af3b2020bf7c048587edbc1e0d5bb35d62fa3c (patch)
tree6c9b411aba2dcb04af6e3d889b027d1dc774dfe1 /top
parent7f83a8faab85c2572ef75d2f8b0e457c2ad5bdfe (diff)
downloadprocps-ng-11af3b2020bf7c048587edbc1e0d5bb35d62fa3c.tar.gz
top: eliminate inadvertent trailing double semi-colons
Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'top')
-rw-r--r--top/top.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/top/top.c b/top/top.c
index 6df2324..2f36181 100644
--- a/top/top.c
+++ b/top/top.c
@@ -2814,7 +2814,7 @@ static inline void insp_show_pgs (int col, int row, int max) {
void (*mkrow_func)(int, int);
int r = snprintf(buf, sizeof(buf), "%d", Insp_nl);
int c = snprintf(buf, sizeof(buf), "%d", col +Screen_cols);
- int l = row +1, ls = Insp_nl;;
+ int l = row +1, ls = Insp_nl;
if (!Insp_bufrd)
l = ls = 0;
@@ -4828,7 +4828,7 @@ static void keys_summary (int ch) {
if (!CHKw(w, View_MEMORY))
SETw(w, View_MEMORY);
else if (++w->rc.graph_mems > 2) {
- w->rc.graph_mems = 0;;
+ w->rc.graph_mems = 0;
OFFw(w, View_MEMORY);
}
break;
@@ -4836,7 +4836,7 @@ static void keys_summary (int ch) {
if (!CHKw(w, View_STATES))
SETw(w, View_STATES);
else if (++w->rc.graph_cpus > 2) {
- w->rc.graph_cpus = 0;;
+ w->rc.graph_cpus = 0;
OFFw(w, View_STATES);
}
break;