Remove unused variables in ed(1)

This commit is contained in:
sin 2015-12-14 12:12:07 +00:00
parent 1de650edf5
commit 912c21ab1f

3
ed.c
View File

@ -264,7 +264,6 @@ relink(int to1, int from1, int from2, int to2)
static void static void
undo(void) undo(void)
{ {
int i;
struct link *p; struct link *p;
if (udata.nr == 0) if (udata.nr == 0)
@ -863,7 +862,7 @@ static void
getrhs(int delim) getrhs(int delim)
{ {
int c; int c;
size_t n, siz, cap; size_t siz, cap;
static char *s; static char *s;
free(s); free(s);