Changeset 9047


Ignore:
Timestamp:
Sep 6, 2009, 10:52:13 PM (13 years ago)
Author:
charles
Message:

(trunk libT) disable the sorted ptrArray assertions in non-mac release builds

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8997 r9047  
    2626    CXXFLAGS="$CXXFLAGS -g -O3 "
    2727  fi
     28  CPPFLAGS="$CPPFLAGS -DNDEBUG"
    2829else
    2930  supported_build=no
  • trunk/libtransmission/ptrarray.c

    r9027 r9047  
    187187                        int compare(const void*, const void*) )
    188188{
     189#ifndef NDEBUG
    189190    int i;
    190191
    191192    for( i = 0; i < t->n_items - 2; ++i )
    192193        assert( compare( t->items[i], t->items[i + 1] ) <= 0 );
     194#endif
    193195}
    194196
Note: See TracChangeset for help on using the changeset viewer.