Ignore:
Timestamp:
May 2, 2011 5:29:05 AM (8 years ago)
Author:
stefan
Message:

fix compiler warnings

File:
1 edited

Legend:

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

    r1641 r1644  
    66// Edwin 11/10/2009-- carved out of CbcBranchActual
    77
    8 #if defined(_MSC_VER)
    9 // Turn off compiler warning about long names
    10 #  pragma warning(disable:4786)
    11 #endif
    128#include <cassert>
    139#include <cstdlib>
     
    1612//#define CBC_DEBUG
    1713
     14#include "CoinPragma.hpp"
    1815#include "CoinTypes.hpp"
    1916#include "OsiSolverInterface.hpp"
     
    172169    int i;
    173170    if ((what&1) != 0) {
     171#ifndef NDEBUG
    174172        int nSame = 0;
     173#endif
    175174        for (i = 0; i < numberChangedBounds_; i++) {
    176175            int variable = variables_[i];
     
    219218            }
    220219        }
     220#ifndef NDEBUG
    221221#ifdef CBC_PRINT2
    222222        if (nSame && (nSame < numberChangedBounds_ || (what&3) != 3))
     
    226226            printf("%d good changes %d\n",
    227227                   numberChangedBounds_, what);
     228#endif
    228229#endif
    229230    }
Note: See TracChangeset for help on using the changeset viewer.