]> granicus.if.org Git - procps-ng/commitdiff
top: eliminate inadvertent trailing double semi-colons
authorJim Warner <james.warner@comcast.net>
Tue, 10 Mar 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 10 Apr 2020 04:35:17 +0000 (14:35 +1000)
Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index b4fe21e416ff3bb003e6ba89c043047e4f3c73de..ce512e6ad5eef577da79b457cc5201677bc220a1 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -3241,7 +3241,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;
@@ -5246,7 +5246,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;
@@ -5254,7 +5254,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;