mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
refs #341 workaround cppcheck unreachableCode warning
This commit is contained in:
@@ -63,15 +63,15 @@ namespace BlackMisc
|
||||
//! \brief Magnetic Track?
|
||||
bool isMagneticTrack() const
|
||||
{
|
||||
return Magnetic == this->m_north;
|
||||
(void)QT_TRANSLATE_NOOP("Aviation", "magnetic");
|
||||
return Magnetic == this->m_north;
|
||||
}
|
||||
|
||||
//! \brief True Track?
|
||||
bool isTrueTrack() const
|
||||
{
|
||||
return True == this->m_north;
|
||||
(void)QT_TRANSLATE_NOOP("Aviation", "true");
|
||||
return True == this->m_north;
|
||||
}
|
||||
|
||||
//! \brief Get reference north (magnetic or true)
|
||||
|
||||
Reference in New Issue
Block a user