Address some of the issues found by cppcheck

This commit is contained in:
Jason Turner
2014-03-26 16:59:41 -06:00
parent 296769ee24
commit 65b0846e41
8 changed files with 19 additions and 25 deletions

View File

@@ -308,12 +308,6 @@ namespace chaiscript
static void throw_exception(const Boxed_Value &bv) {
throw bv;
}
static boost::shared_ptr<chaiscript::detail::Dispatch_Engine> bootstrap2(boost::shared_ptr<chaiscript::detail::Dispatch_Engine> e = boost::shared_ptr<chaiscript::detail::Dispatch_Engine> (new chaiscript::detail::Dispatch_Engine()))
{
e->add(user_type<void>(), "void");
return e;
}
static std::string what(const std::exception &e)
{