(libT) fix a compiler warning.

This commit is contained in:
Charles Kerr 2008-11-26 18:54:35 +00:00
parent 2690766076
commit 2e27756016
1 changed files with 2 additions and 3 deletions

View File

@ -239,7 +239,8 @@ tr_bandwidthIsLimited( const tr_bandwidth * b,
return b->band[dir].isLimited != 0; return b->band[dir].isLimited != 0;
} }
#if 1 #if 0
#warning do not check the code in with this enabled
#define DEBUG_DIRECTION TR_UP #define DEBUG_DIRECTION TR_UP
#endif #endif
@ -248,8 +249,6 @@ tr_bandwidthAllocate( tr_bandwidth * b,
tr_direction dir, tr_direction dir,
int period_msec ) int period_msec )
{ {
double clamped = 0;
assert( isBandwidth( b ) ); assert( isBandwidth( b ) );
assert( isDirection( dir ) ); assert( isDirection( dir ) );