skip setting intermediate variable #208

Merged
merged 1 commit into from Dec 15, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −2
Split
View
@@ -12,8 +12,7 @@ var process_metrics = function (metrics, flushInterval, ts, flushCallback) {
var value = counters[key];
// calculate "per second" rate
- var valuePerSecond = value / (flushInterval / 1000);
- counter_rates[key] = valuePerSecond;
+ counter_rates[key] = value / (flushInterval / 1000);
}
for (key in timers) {