commit 912c21ab1f8ef874d739c5ea90af224c46425c6c
parent 1de650edf5827037422190dca7c75a6a073be172
Author: sin <sin@2f30.org>
Date: Mon, 14 Dec 2015 12:12:07 +0000
Remove unused variables in ed(1)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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);