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

    r1880 r1886  
    49524952                                   int status = computeCompleteSolution( babModel_, colNames, mipStart, &x[0], obj );
    49534953                                   if (!status)
    4954                                      babModel_->setBestSolution( &x[0], x.size(), obj, false );
     4954                                     babModel_->setBestSolution( &x[0], static_cast<int>(x.size()), obj, false );
    49554955                                }
    49564956
     
    85598559                                  assert (clpSolver->getModelPtr()==saveLpSolver);
    85608560                                  lpSolver = new ClpSimplex(*saveLpSolver);
     8561#ifndef NDEBUG
    85618562                                  ClpSimplex * oldSimplex = clpSolver->swapModelPtr(lpSolver);
    85628563                                  assert (oldSimplex==saveLpSolver);
     8564#else
     8565              clpSolver->swapModelPtr(lpSolver);
     8566#endif
    85638567                                  double * solution = lpSolver->primalColumnSolution();
    85648568                                  double * lower = lpSolver->columnLower();
Note: See TracChangeset for help on using the changeset viewer.