Several bugs happened in the past due to this kind of comments
and it is better to get rid of them.
---
 ed.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ed.c b/ed.c
index b6f4f1c..b94afa5 100644
--- a/ed.c
+++ b/ed.c
@@ -199,7 +199,7 @@ makeline(char *s, int *off)
                len = 0;
        } else {
                while ((c = *s++) && c != '\n')
-                       /* nothing */;
+                       ;
                len = s - begin;
                if ((lp->seek = lseek(scratch, 0, SEEK_END)) < 0 ||
                    write(scratch, begin, len) < 0) {
@@ -482,7 +482,7 @@ skipblank(void)
        char c;
 
        while ((c = input()) == ' ' || c == '\t')
-               /* nothing */;
+               ;
        back(c);
 }
 
-- 
2.37.3


Reply via email to