[apps] GlobalPreferences: remove useless assertion

This commit is contained in:
Émilie Feral
2019-12-19 15:16:05 +01:00
committed by LeaNumworks
parent 96c63bd4a5
commit 425f0cb459

View File

@@ -9,7 +9,6 @@ GlobalPreferences::ExamMode GlobalPreferences::examMode() const {
if (m_examMode == ExamMode::Unknown) {
m_examMode = (ExamMode)Ion::ExamMode::FetchExamMode();
}
assert((int)m_examMode >= 0 && (int)m_examMode <= 2);
return m_examMode;
}