X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCore%2FTest%2FTest_SimpleParser.cxx;fp=src%2FCore%2FTest%2FTest_SimpleParser.cxx;h=e10403a0284dbb8307f1b143cf305ca733b04749;hb=2c78d2d59017ae4888a0b8acddec41224f1d95a9;hp=f635e42208af4a678335d62449d23b3acdb22719;hpb=097bd648ec2df94785a541abd330a96e4b016cbd;p=tools%2Flibbatch.git diff --git a/src/Core/Test/Test_SimpleParser.cxx b/src/Core/Test/Test_SimpleParser.cxx index f635e42..e10403a 100644 --- a/src/Core/Test/Test_SimpleParser.cxx +++ b/src/Core/Test/Test_SimpleParser.cxx @@ -35,7 +35,7 @@ using namespace std; -int main(int argc, char** argv) +int main(int /*argc*/, char** /*argv*/) { cout << "*******************************************************************************************" << endl; cout << "This program tests the simple parser that parses the configuration file used in the other" << endl; @@ -49,7 +49,7 @@ int main(int argc, char** argv) try { // Parse the configuration file parser.parseTestConfigFile(); - } catch (ParserException e) { + } catch (const ParserException& e) { cerr << "Parser error: " << e.what() << endl; return 1; }