mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
(trunk libT) fix uninitialized variable in bandwidth code
This commit is contained in:
parent
dfd5c70916
commit
1375c707ed
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ tr_peerIoTryWrite( tr_peerIo * io, size_t howmuch )
|
||||||
int
|
int
|
||||||
tr_peerIoFlush( tr_peerIo * io, tr_direction dir, size_t limit )
|
tr_peerIoFlush( tr_peerIo * io, tr_direction dir, size_t limit )
|
||||||
{
|
{
|
||||||
int bytesUsed;
|
int bytesUsed = 0;
|
||||||
|
|
||||||
assert( tr_isPeerIo( io ) );
|
assert( tr_isPeerIo( io ) );
|
||||||
assert( tr_isDirection( dir ) );
|
assert( tr_isDirection( dir ) );
|
||||||
|
|
Loading…
Reference in a new issue