mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +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
|
||||
tr_peerIoFlush( tr_peerIo * io, tr_direction dir, size_t limit )
|
||||
{
|
||||
int bytesUsed;
|
||||
int bytesUsed = 0;
|
||||
|
||||
assert( tr_isPeerIo( io ) );
|
||||
assert( tr_isDirection( dir ) );
|
||||
|
|
Loading…
Reference in a new issue