Fixed: mathlib.cpp(258): warning C4702: unreachable code.
This commit is contained in:
parent
279b0c59bb
commit
573256350a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue