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

@@ -215,6 +215,7 @@ int main(int argc, char *argv[])
case eInteractive : interactive(chai); break;
case eCommand : val = chai.eval(arg); break;
case eFile : val = chai.eval_file(arg); break;
default : std::cout << "Unrecognized execution mode" << std::endl; return EXIT_FAILURE;
}
}
catch (const chaiscript::exception::eval_error &ee) {