fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc http://codereview.appspot.com/6744053
This commit is contained in:
parent
53527a6e78
commit
220c15d2b7
14 changed files with 9 additions and 40 deletions
|
|
@ -462,8 +462,6 @@ getactivity(Request *req)
|
|||
void
|
||||
putactivity(void)
|
||||
{
|
||||
static ulong lastclean;
|
||||
|
||||
if(traceactivity) syslog(0, "dns", "put %d by %d.%d", dnvars.active, getpid(), threadid());
|
||||
lock(&dnvars.lk);
|
||||
dnvars.active--;
|
||||
|
|
@ -490,7 +488,6 @@ putactivity(void)
|
|||
dnageall(0);
|
||||
|
||||
/* let others back in */
|
||||
lastclean = now;
|
||||
needrefresh = 0;
|
||||
dnvars.mutex = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue