# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1521740816 -3600
# Thu Mar 22 18:46:56 2018 +0100
# Node ID ad22262328b3fbdec2b41f70fa65a65b9ccf752b
# Parent fb1c7da561ceb5fff691bba109ad95b079780845
Add missing break statement to dimacs-solver (#609)
diff --git a/tools/dimacs-solver.cc b/tools/dimacs-solver.cc
a
|
b
|
|
222 | 222 | if (!output) { |
223 | 223 | throw IoError("Cannot open the file for writing", ap.files()[1]); |
224 | 224 | } |
| 225 | // fall through |
225 | 226 | case 1: |
226 | 227 | input.open(ap.files()[0].c_str()); |
227 | 228 | if (!input) { |
228 | 229 | throw IoError("File cannot be found", ap.files()[0]); |
229 | 230 | } |
| 231 | // fall through |
230 | 232 | case 0: |
231 | 233 | break; |
232 | 234 | default: |
… |
… |
|
251 | 253 | break; |
252 | 254 | case DimacsDescriptor::SP: |
253 | 255 | std::cout << "sp"; |
| 256 | break; |
254 | 257 | case DimacsDescriptor::MAT: |
255 | 258 | std::cout << "mat"; |
256 | 259 | break; |