commit 912c21ab1f8ef874d739c5ea90af224c46425c6c
Author:     sin <[email protected]>
AuthorDate: Mon Dec 14 12:12:07 2015 +0000
Commit:     sin <[email protected]>
CommitDate: Mon Dec 14 12:14:52 2015 +0000

    Remove unused variables in ed(1)

diff --git a/ed.c b/ed.c
index 59a1250..9e9bdc1 100644
--- a/ed.c
+++ b/ed.c
@@ -264,7 +264,6 @@ relink(int to1, int from1, int from2, int to2)
 static void
 undo(void)
 {
-       int i;
        struct link *p;
 
        if (udata.nr == 0)
@@ -863,7 +862,7 @@ static void
 getrhs(int delim)
 {
        int c;
-       size_t n, siz, cap;
+       size_t siz, cap;
        static char *s;
 
        free(s);

Reply via email to