From ae41f49f09de058a500a02f4a0fa2b463b8b44de Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 16 Feb 2014 19:40:50 +0100 Subject: mothra: remove unused local variables from pl_nextc() --- sys/src/cmd/mothra/rdhtml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index 5fbf0c732..88bb4f853 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -219,8 +219,7 @@ void pl_putback(Hglob *g, int c){ } int pl_nextc(Hglob *g){ int c; - int n; - Rune r; + if(g->heof) return EOF; if(g->npeekc!=0) return g->peekc[--g->npeekc]; c=pl_readc(g); -- cgit v1.2.3