aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ndb
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-10-20 13:36:52 -0400
committerRuss Cox <rsc@swtch.com>2012-10-20 13:36:52 -0400
commit220c15d2b746878a943f311e6f66b1480e46491d (patch)
treeb3235ff00e75b08680c0db754058ec908e2b2f22 /src/cmd/ndb
parent53527a6e7864f5d681d7140f1403d4d8d42311d5 (diff)
downloadplan9port-220c15d2b746878a943f311e6f66b1480e46491d.tar.gz
plan9port-220c15d2b746878a943f311e6f66b1480e46491d.tar.bz2
plan9port-220c15d2b746878a943f311e6f66b1480e46491d.zip
fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc http://codereview.appspot.com/6744053
Diffstat (limited to 'src/cmd/ndb')
-rwxr-xr-xsrc/cmd/ndb/dn.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/ndb/dn.c b/src/cmd/ndb/dn.c
index c9356b54..8b874030 100755
--- a/src/cmd/ndb/dn.c
+++ b/src/cmd/ndb/dn.c
@@ -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;
}