Bug 983101 - unused variable 'kNsPerSec' in TimeStamp_darwin.cpp, r=froydnj
authorGeorg Fritzsche <georg.fritzsche@googlemail.com>
Thu, 13 Mar 2014 12:52:43 +0100
changeset 191623 7f90960c05da0ad96b6e8e81a024cf58ef3641dc
parent 191622 41473d14f297ea3670f2ea4270ae557eb8335369
child 191624 0daba7f5bcf763af075a4758f1a69f6c479a838f
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs983101
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 983101 - unused variable 'kNsPerSec' in TimeStamp_darwin.cpp, r=froydnj
xpcom/ds/TimeStamp_darwin.cpp
--- a/xpcom/ds/TimeStamp_darwin.cpp
+++ b/xpcom/ds/TimeStamp_darwin.cpp
@@ -26,17 +26,16 @@
 #include "nsDebug.h"
 
 // Estimate of the smallest duration of time we can measure.
 static uint64_t sResolution;
 static uint64_t sResolutionSigDigs;
 
 static const uint64_t kNsPerMs   =    1000000;
 static const uint64_t kUsPerSec  =    1000000;
-static const uint64_t kNsPerSec  = 1000000000;
 static const double kNsPerMsd    =    1000000.0;
 static const double kNsPerSecd   = 1000000000.0;
 
 static bool gInitialized = false;
 static double sNsPerTick;
 
 static uint64_t
 ClockTime()