Remove unused variable

This commit is contained in:
Zach Fox 2018-11-09 10:38:20 -08:00 committed by GitHub
parent 1b2593fd26
commit 5cf2041c65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,8 +216,6 @@ void AssetResourceRequest::onDownloadProgress(qint64 bytesReceived, qint64 bytes
if (bytesReceived != bytesTotal
&& now - _lastProgressDebug > std::chrono::seconds(DOWNLOAD_PROGRESS_LOG_INTERVAL_SECONDS)) {
int percentage = roundf((float) bytesReceived / (float) bytesTotal * 100.0f);
_lastProgressDebug = now;
}
}