Catch a few things found with more aggressive g++ warnings

This commit is contained in:
Jason Turner
2012-06-01 08:47:40 -06:00
parent 7cbd494123
commit 7f253bd6c1
4 changed files with 17 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ namespace chaiscript
}
bad_boxed_cast(const std::string &t_what) throw()
: m_what(t_what)
: to(0), m_what(t_what)
{
}