mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Don't use 'else' after return/break
This commit is contained in:
@@ -59,12 +59,12 @@ TrackerEntry::Status TrackerEntry::status() const
|
||||
// true when the tracker hasn't been tried yet.
|
||||
if (m_nativeEntry.verified && m_nativeEntry.is_working())
|
||||
return Working;
|
||||
else if ((m_nativeEntry.fails == 0) && m_nativeEntry.updating)
|
||||
if ((m_nativeEntry.fails == 0) && m_nativeEntry.updating)
|
||||
return Updating;
|
||||
else if (m_nativeEntry.fails == 0)
|
||||
if (m_nativeEntry.fails == 0)
|
||||
return NotContacted;
|
||||
else
|
||||
return NotWorking;
|
||||
|
||||
return NotWorking;
|
||||
}
|
||||
|
||||
void TrackerEntry::setTier(const int value)
|
||||
|
||||
Reference in New Issue
Block a user