From d1905d806330134d2fa65054d141cbc138d4fd9d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 3 May 2013 13:46:27 +0200 Subject: ape: remove unused variables from _buf (from erik qunastros _bufupd patch) --- sys/src/ape/lib/ap/plan9/_buf.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/src/ape/lib/ap/plan9/_buf.c b/sys/src/ape/lib/ap/plan9/_buf.c index d3ed4e424..fe3588cb2 100644 --- a/sys/src/ape/lib/ap/plan9/_buf.c +++ b/sys/src/ape/lib/ap/plan9/_buf.c @@ -50,7 +50,7 @@ static int copynotehandler(void *, char *); int _startbuf(int fd) { - long i, n, slot; + long i, slot; int pid, sid; Fdinfo *f; Muxbuf *b; @@ -299,7 +299,7 @@ goteof: int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) { - int n, i, tmp, t, slots, fd, err; + int n, i, t, slots, fd, err; Fdinfo *f; Muxbuf *b; @@ -412,7 +412,7 @@ static int timerreset; static int timerpid; static void -alarmed(int v) +alarmed(int) { timerreset = 1; } @@ -500,9 +500,6 @@ _detachbuf(void) static int copynotehandler(void *u, char *msg) { - int i; - void(*f)(int); - if(_finishing) _finish(0, 0); _NOTED(1); -- cgit v1.2.3