Fix build.

Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f
This commit is contained in:
Keisuke Kuroyanagi 2013-10-02 23:02:42 +09:00
parent d25cd26f1a
commit 3d92954120

View File

@ -92,7 +92,6 @@ const ForgettingCurveUtils::ProbabilityTable ForgettingCurveUtils::sProbabilityT
}
/* static */ int ForgettingCurveUtils::decodeProbability(const int encodedProbability) {
const int probability = encodedProbability - MIN_VALID_ENCODED_PROBABILITY;
if (encodedProbability < MIN_VALID_ENCODED_PROBABILITY) {
return NOT_A_PROBABILITY;
} else {