# HG changeset patch # User Peter Kovacs # Date 1521740816 -3600 # Node ID ad22262328b3fbdec2b41f70fa65a65b9ccf752b # Parent fb1c7da561ceb5fff691bba109ad95b079780845 Add missing break statement to dimacs-solver (#609) diff -r fb1c7da561ce -r ad22262328b3 tools/dimacs-solver.cc --- a/tools/dimacs-solver.cc Fri Aug 09 11:29:40 2013 +0200 +++ b/tools/dimacs-solver.cc Thu Mar 22 18:46:56 2018 +0100 @@ -222,11 +222,13 @@ if (!output) { throw IoError("Cannot open the file for writing", ap.files()[1]); } + // fall through case 1: input.open(ap.files()[0].c_str()); if (!input) { throw IoError("File cannot be found", ap.files()[0]); } + // fall through case 0: break; default: @@ -251,6 +253,7 @@ break; case DimacsDescriptor::SP: std::cout << "sp"; + break; case DimacsDescriptor::MAT: std::cout << "mat"; break;