mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix clang warnings
This commit is contained in:
parent
d524f6b395
commit
98a283b4ec
2 changed files with 3 additions and 3 deletions
|
@ -619,7 +619,7 @@ void PropagateUploadFileQNAM::finalize(const SyncFileItem ©)
|
|||
done(SyncFileItem::Success);
|
||||
}
|
||||
|
||||
void PropagateUploadFileQNAM::slotUploadProgress(qint64 sent, qint64 t)
|
||||
void PropagateUploadFileQNAM::slotUploadProgress(qint64 sent, qint64)
|
||||
{
|
||||
int progressChunk = _currentChunk + _startChunk - 1;
|
||||
if (progressChunk >= _chunkCount)
|
||||
|
@ -838,7 +838,7 @@ void GETFileJob::giveBandwidthQuota(qint64 q)
|
|||
|
||||
qint64 GETFileJob::currentDownloadPosition()
|
||||
{
|
||||
if (_device && _device->pos() > 0 && _device->pos() > _resumeStart) {
|
||||
if (_device && _device->pos() > 0 && _device->pos() > qint64(_resumeStart)) {
|
||||
return _device->pos();
|
||||
}
|
||||
return _resumeStart;
|
||||
|
|
|
@ -98,7 +98,7 @@ static time_t getMaxBlacklistTime()
|
|||
bool SyncJournalBlacklistRecord::isValid() const
|
||||
{
|
||||
return ! _file.isEmpty()
|
||||
&& (!_lastTryEtag.isEmpty() || !_lastTryModtime == 0)
|
||||
&& (!_lastTryEtag.isEmpty() || _lastTryModtime != 0)
|
||||
&& _lastTryTime > 0 && _ignoreDuration > 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue