1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

(trunk libT) fix uninitialized variable in bandwidth code

This commit is contained in:
Charles Kerr 2009-01-20 02:43:21 +00:00
parent dfd5c70916
commit 1375c707ed

View file

@ -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 ) );