Skip to content
Snippets Groups Projects
Commit 7a4ed385 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix compile warning

parent bc8318e2
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ int main(int argc, char** argv) {
if (argc == 2 && string("-h").compare(argv[1]) == 0) {
cout << "Automaton minimize.\nUsage: aminimize automaton.xml\n";
return -1;
} else if (argc == 1 || argc == 2 && string("--").compare(argv[1]) == 0) {
} else if (argc == 1 || (argc == 2 && string("--").compare(argv[1]) == 0)) {
automaton = AutomatonFactory::fromStdin();
if(!AutomatonFactory::isFSM(automaton)) {
cout << "Automaton minimize require deterministic finite automaton\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment