mirror of
https://github.com/transmission/transmission
synced 2025-03-12 23:23:54 +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];
|
int numberSelected = [fTorrents count];
|
||||||
if (numberSelected > 0)
|
if (numberSelected > 0)
|
||||||
{
|
{
|
||||||
float downloadRate = 0, uploadRate = 0, downloadedValid;
|
float downloadRate = 0, uploadRate = 0, downloadedValid = 0;
|
||||||
uint64_t downloadedTotal = 0, uploadedTotal = 0;
|
uint64_t downloadedTotal = 0, uploadedTotal = 0;
|
||||||
Torrent * torrent;
|
Torrent * torrent;
|
||||||
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
||||||
|
|
Loading…
Add table
Reference in a new issue