Commit 41cd68c2 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] compilation warning fixed: return false although return -1 was intended.

parent 2326d90e
...@@ -119,7 +119,7 @@ int main( int argc, char** argv ) ...@@ -119,7 +119,7 @@ int main( int argc, char** argv )
catch( const po::error &e ) catch( const po::error &e )
{ {
std::cerr << e.what() << std::endl; std::cerr << e.what() << std::endl;
return false; return -1;
} }
po::notify( optionsMap ); po::notify( optionsMap );
......
...@@ -116,7 +116,7 @@ int main( int argc, char** argv ) ...@@ -116,7 +116,7 @@ int main( int argc, char** argv )
catch( const po::error &e ) catch( const po::error &e )
{ {
std::cerr << e.what() << std::endl; std::cerr << e.what() << std::endl;
return false; return -1;
} }
po::notify( optionsMap ); po::notify( optionsMap );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment