Ignore:
Timestamp:
Apr 6, 2013 11:30:55 AM (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/Clp/src/ClpPresolve.cpp

    r1926 r1929  
    704704          double newLower=COIN_DBL_MAX;
    705705          double newUpper=-COIN_DBL_MAX;
     706#ifdef PRINT_VALUES
    706707          double ranges0[2];
    707708          double ranges1[2];
     709#endif
    708710          double costEqual;
    709711          double slope[2];
     
    719721          costEqual = xValue*cost[otherCol]+yValueEqual*cost[icol];
    720722          if (binding0==1) {
     723#ifdef PRINT_VALUES
    721724            ranges0[0]=bound[0];
    722725            ranges0[1]=yValue0;
    723726            ranges1[0]=yValue0;
    724727            ranges1[1]=bound[1];
     728#endif
    725729            // take x 1.0 down
    726730            double x=xValue-1.0;
     
    734738            slope[1] = costTotal-costEqual;
    735739          } else {
     740#ifdef PRINT_VALUES
    736741            ranges1[0]=bound[0];
    737742            ranges1[1]=yValue0;
    738743            ranges0[0]=yValue0;
    739744            ranges0[1]=bound[1];
     745#endif
    740746            // take x 1.0 down
    741747            double x=xValue-1.0;
Note: See TracChangeset for help on using the changeset viewer.