ape: remove unused variables from _buf (from erik qunastros _bufupd patch)

This commit is contained in:
cinap_lenrek 2013-05-03 13:46:27 +02:00
parent 5dc9c7f443
commit d1905d8063

View file

@ -50,7 +50,7 @@ static int copynotehandler(void *, char *);
int int
_startbuf(int fd) _startbuf(int fd)
{ {
long i, n, slot; long i, slot;
int pid, sid; int pid, sid;
Fdinfo *f; Fdinfo *f;
Muxbuf *b; Muxbuf *b;
@ -299,7 +299,7 @@ goteof:
int int
select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) 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; Fdinfo *f;
Muxbuf *b; Muxbuf *b;
@ -412,7 +412,7 @@ static int timerreset;
static int timerpid; static int timerpid;
static void static void
alarmed(int v) alarmed(int)
{ {
timerreset = 1; timerreset = 1;
} }
@ -500,9 +500,6 @@ _detachbuf(void)
static int static int
copynotehandler(void *u, char *msg) copynotehandler(void *u, char *msg)
{ {
int i;
void(*f)(int);
if(_finishing) if(_finishing)
_finish(0, 0); _finish(0, 0);
_NOTED(1); _NOTED(1);