Changeset 3347


Ignore:
Timestamp:
Sep 20, 2014 9:46:18 AM (6 years ago)
Author:
bradbell
Message:

Fix warnings when compiling NDEBUG defined.

Location:
branches/cache/cppad/local
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cache/cppad/local/forward2sweep.hpp

    r3346 r3347  
    239239
    240240        // initialize cache indices with invalid variable value
    241         for(size_t i = 0; i < num_cache; i++)
     241        for(i = 0; i < num_cache; i++)
    242242                cache2var[i] = addr_t(0);
    243243
  • branches/cache/cppad/local/op_code.hpp

    r3342 r3347  
    936936}
    937937
     938# ifndef NDEBUG
    938939/*!
    939940If NDEBUG is not defined, assert that arguments come before result.
     
    11541155        return;
    11551156}
     1157# endif
    11561158
    11571159} // END_CPPAD_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.