mirror of
https://github.com/transmission/transmission
synced 2025-03-12 15:14:12 +00:00
always initialize a primitive before adding to it
This commit is contained in:
parent
0c41e8ed5f
commit
ca5f11dc51
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@
|
|||
int numberSelected = [fTorrents count];
|
||||
if (numberSelected > 0)
|
||||
{
|
||||
float downloadRate = 0, uploadRate = 0, downloadedValid;
|
||||
float downloadRate = 0, uploadRate = 0, downloadedValid = 0;
|
||||
uint64_t downloadedTotal = 0, uploadedTotal = 0;
|
||||
Torrent * torrent;
|
||||
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
||||
|
|
Loading…
Add table
Reference in a new issue