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
1 changed files with 1 additions and 1 deletions

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