(libT) fix a compiler warning.
This commit is contained in:
parent
2690766076
commit
2e27756016
|
@ -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 ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue