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

    r1854 r1886  
    2020bool isNumericStr( const char *str )
    2121{
    22    const int l = strlen(str);
    23 
    24    for ( int i=0 ; (i<l) ; ++i )
     22   const size_t l = strlen(str);
     23
     24   for ( size_t i=0 ; i<l ; ++i )
    2525      if (!(isdigit(str[i])||(str[i]=='.')))
    2626         return false;
     
    170170      babModel.setMaximumSeconds( 60 );
    171171      babModel.branchAndBound();
    172       clock_t end = clock();
    173172      if (babModel.bestSolution())
    174173      {
Note: See TracChangeset for help on using the changeset viewer.