From 8596794ce76423912d7c884cae75b45887ce4944 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Tue, 7 Apr 2015 17:21:28 +0200 Subject: [PATCH] MathLib:mod: Declared local variable as const. No functional change. --- lib/mathlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index e996f7596..8d7c5c4ac 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -605,7 +605,7 @@ std::string MathLib::multiply(const std::string &first, const std::string &secon std::string MathLib::mod(const std::string &first, const std::string &second) { if (MathLib::isInt(first) && MathLib::isInt(second)) { - bigint b = toLongNumber(second); + const bigint b = toLongNumber(second); if (b == 0) throw InternalError(0, "Internal Error: Division by zero"); return toString(toLongNumber(first) % b);