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/CbcSimpleIntegerDynamicPseudoCost.cpp

    r1854 r1886  
    736736        double minValue = CoinMin(downCost, upCost);
    737737        double maxValue = CoinMax(downCost, upCost);
     738#ifdef COIN_DEVELOP
    738739        char where;
     740#endif
    739741        // was <= 10
    740742        //if (stateOfSearch<=1||model_->currentNode()->depth()<=-10 /* was ||maxValue>0.2*distanceToCutoff*/) {
    741743        if (stateOfSearch <= 2) {
    742744            // no branching solution
     745#ifdef COIN_DEVELOP
    743746            where = 'i';
     747#endif
    744748            returnValue = WEIGHT_BEFORE * minValue + (1.0 - WEIGHT_BEFORE) * maxValue;
    745749            if (0) {
     
    768772        } else {
    769773            // some solution
     774#ifdef COIN_DEVELOP
    770775            where = 'I';
     776#endif
    771777#ifndef WEIGHT_PRODUCT
    772778            returnValue = WEIGHT_AFTER * minValue + (1.0 - WEIGHT_AFTER) * maxValue;
Note: See TracChangeset for help on using the changeset viewer.