clean up a couple warnings

This commit is contained in:
Cameron Kaiser 2017-10-09 16:36:38 -07:00
parent 9b5b09a6c1
commit f37f7669db
2 changed files with 4 additions and 0 deletions

View File

@ -1239,7 +1239,9 @@ IncrementalFinalizeRunnable::Run()
}
}
#if(0)
uint32_t duration = (uint32_t)((TimeStamp::Now() - start).ToMilliseconds());
#endif
return NS_OK;
}

View File

@ -3502,6 +3502,7 @@ nsCycleCollector::CleanupAfterCollection()
mGraph.Clear();
timeLog.Checkpoint("CleanupAfterCollection::mGraph.Clear()");
#if(0)
uint32_t interval =
(uint32_t)((TimeStamp::Now() - mCollectionStart).ToMilliseconds());
#ifdef COLLECT_TIME_DEBUG
@ -3516,6 +3517,7 @@ nsCycleCollector::CleanupAfterCollection()
printf(" (%d%%)", 100 * numFreed / numVisited);
}
printf(".\ncc: \n");
#endif
#endif
if (mJSRuntime) {