1
0
Fork 0
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:
Mitchell Livingston 2006-06-20 00:47:15 +00:00
parent 0c41e8ed5f
commit ca5f11dc51

View file

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