# HG changeset patch
# User Péter Kovács <kpeter@inf.elte.hu>
# Date 1518851139 -3600
# Sat Feb 17 08:05:39 2018 +0100
# Node ID e9b540c888f311c187bb3062a8884f25941e2d72
# 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; |