Skip to content

Commit

Permalink
Remove a couple of unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
gille committed Nov 24, 2015
1 parent 65f522f commit 7886b5e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/WPrime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,16 +1061,12 @@ class WCPZoneTime : public RideMetric {
const Context *)
{

double CP = 250; // default
double WPRIME = 20000;
if (zones && zoneRange > 0) {
CP = zones->getCP(zoneRange);
WPRIME = zones->getWprime(zoneRange);
}

// did we override CP in metadata / metrics ?
int oCP = ride->getTag("CP","0").toInt();
if (oCP) CP=oCP;
int oW = ride->getTag("W'","0").toInt();
if (oW) WPRIME=oW;

Expand Down

0 comments on commit 7886b5e

Please sign in to comment.