replaced assert(false) calls with abort()
This commit is contained in:
@@ -126,7 +126,7 @@ void AudioManager::SetOutputDevice(const QAudioDeviceInfo &info)
|
||||
break;
|
||||
case SAMPLE_FMT_COUNT:
|
||||
case SAMPLE_FMT_INVALID:
|
||||
Q_ASSERT(false);
|
||||
abort();
|
||||
}
|
||||
|
||||
output_ = std::unique_ptr<QAudioOutput>(new QAudioOutput(info, format, this));
|
||||
|
||||
@@ -147,6 +147,6 @@ void ProjectToolbar::ViewButtonClicked()
|
||||
emit ViewChanged(olive::ListView);
|
||||
} else {
|
||||
// Assert that it was one of the above buttons
|
||||
Q_ASSERT(false);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user