Ignore:
Timestamp:
Apr 6, 2013 2:13:35 PM (7 years ago)
Author:
stefan
Message:

fix compiler (gcc 4.6.2) warnings in optimized mode, mainly about unused variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcBranchLotsize.cpp

    r1573 r1886  
    183183        bound_[0] = points[sort[0] * 2];
    184184        bound_[1] = points[sort[0] * 2 + 1];
    185         double lo = bound_[0];
    186185        double hi = bound_[1];
    187         assert (hi >= lo);
     186        assert (hi >= bound_[0]);
    188187        for (i = 1; i < numberPoints; i++) {
    189188            double thisLo = points[sort[i] * 2];
     
    194193                bound_[2*numberRanges_+1] = thisHi;
    195194                numberRanges_++;
    196                 lo = thisLo;
    197195                hi = thisHi;
    198196            } else {
Note: See TracChangeset for help on using the changeset viewer.