Fixed: mathlib.cpp(258): warning C4702: unreachable code.

This commit is contained in:
Edoardo Prezioso 2012-05-16 15:24:51 +02:00
parent 279b0c59bb
commit 573256350a
1 changed files with 0 additions and 2 deletions

View File

@ -254,8 +254,6 @@ std::string MathLib::calculate(const std::string &first, const std::string &seco
default: default:
throw InternalError(0, std::string("Unexpected action '") + action + "' in MathLib::calculate(). Please report this to Cppcheck developers."); throw InternalError(0, std::string("Unexpected action '") + action + "' in MathLib::calculate(). Please report this to Cppcheck developers.");
} }
return "0";
} }
std::string MathLib::sin(const std::string &tok) std::string MathLib::sin(const std::string &tok)