diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-16 19:40:50 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-16 19:40:50 +0100 |
| commit | ae41f49f09de058a500a02f4a0fa2b463b8b44de (patch) | |
| tree | 960a585cc7bf090a5d1a83394713885a4dd22712 | |
| parent | 3df2b18398544184e78446a9e9e25d5be343cf1c (diff) | |
| download | plan9front-ae41f49f09de058a500a02f4a0fa2b463b8b44de.tar.xz | |
mothra: remove unused local variables from pl_nextc()
| -rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 3 |
1 files changed, 1 insertions, 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); |
