war on -Werror, part 2: unused variables and dead code

This commit is contained in:
Devin J. Pohly
2012-12-26 20:35:02 -05:00
parent 1f80e3be4c
commit 7aac8c5ae3
8 changed files with 10 additions and 28 deletions
+1 -6
View File
@@ -56,12 +56,7 @@ RString FileTransfer::Update( float fDeltaTime )
void FileTransfer::UpdateProgress()
{
float DownloadedRatio;
if( m_iTotalBytes < 1 )
DownloadedRatio = 0;
else
DownloadedRatio = float(m_iDownloaded) / float(m_iTotalBytes);
// Code here did nothing...
}
void FileTransfer::Cancel()