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