COIN-OR::LEMON - Graph Library

Changeset 1386:ad22262328b3 in lemon for tools


Ignore:
Timestamp:
03/22/18 18:46:56 (6 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
1387:50b7e16a135a, 1390:f0f15d07bf51, 1395:f425c93848fa
Phase:
public
Message:

Add missing break statement to dimacs-solver (#609)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/dimacs-solver.cc

    r1271 r1386  
    223223        throw IoError("Cannot open the file for writing", ap.files()[1]);
    224224      }
     225      // fall through
    225226    case 1:
    226227      input.open(ap.files()[0].c_str());
     
    228229        throw IoError("File cannot be found", ap.files()[0]);
    229230      }
     231      // fall through
    230232    case 0:
    231233      break;
     
    252254        case DimacsDescriptor::SP:
    253255          std::cout << "sp";
     256          break;
    254257        case DimacsDescriptor::MAT:
    255258          std::cout << "mat";
Note: See TracChangeset for help on using the changeset viewer.