From 7890d40026ea96b031523a46fb64f4247644c856 Mon Sep 17 00:00:00 2001 From: "smparkes@smparkes.net" Date: Tue, 26 Jun 2012 17:44:25 +0000 Subject: [PATCH] C++ changes for 2281 git-svn-id: https://zxing.googlecode.com/svn/trunk@2331 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp b/cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp index 928ae895d..36bff1b9e 100644 --- a/cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp +++ b/cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp @@ -94,8 +94,6 @@ vector > ReedSolomonDecoder::runEuclideanAlgorithm(Ref rLast(a); Ref r(b); - Ref sLast(field->getOne()); - Ref s(field->getZero()); Ref tLast(field->getZero()); Ref t(field->getOne()); @@ -103,10 +101,8 @@ vector > ReedSolomonDecoder::runEuclideanAlgorithm(RefgetDegree() >= R / 2) { Ref rLastLast(rLast); - Ref sLastLast(sLast); Ref tLastLast(tLast); rLast = r; - sLast = s; tLast = t; @@ -126,7 +122,6 @@ vector > ReedSolomonDecoder::runEuclideanAlgorithm(RefaddOrSubtract(rLast->multiplyByMonomial(degreeDiff, scale)); } - s = q->multiply(sLast)->addOrSubtract(sLastLast); t = q->multiply(tLast)->addOrSubtract(tLastLast); }