trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1090499 - /trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc
Date Sat, 09 Apr 2011 00:45:27 GMT
Author: zwoop
Date: Sat Apr  9 00:45:27 2011
New Revision: 1090499

URL: http://svn.apache.org/viewvc?rev=1090499&view=rev
Log:
Fix compiling on gcc-4.6

Modified:
    trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc

Modified: trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc?rev=1090499&r1=1090498&r2=1090499&view=diff
==============================================================================
--- trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc (original)
+++ trafficserver/traffic/trunk/mgmt/web2/WebIntrMain.cc Sat Apr  9 00:45:27 2011
@@ -270,19 +270,16 @@ void *
 serviceThrReaper(void *arg)
 {
   NOWARN_UNUSED(arg);
-  time_t currentTime;
   int numJoined;
 
   lmgmt->syslogThrInit();
 
   while (1) {
-
     numJoined = 0;
 
     // coverity[lock][lockagain]
     ink_mutex_acquire(&wGlobals.serviceThrLock);
 
-    currentTime = time(NULL);
     for (int i = 0; i < MAX_SERVICE_THREADS; i++) {
       if (wGlobals.serviceThrArray[i].threadId != 0) {
         if (wGlobals.serviceThrArray[i].waitingForJoin == true) {



Mime
View raw message