Skip to content
Permalink
Browse files

VerifyWidget: Handle Severity::None case in Verify()

The case body is empty because VolumeVerifier doesn't actually report
problems with severity of None.

Fixes "warning: enumeration value ‘None’ not handled in switch [-Wswitch]"
warning reported by gcc.
  • Loading branch information...
tkln committed Sep 30, 2019
1 parent 3c6c94a commit 0dda920c1d1e39427b4b52c26ff09e9534906ef2
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt/Config/VerifyWidget.cpp
@@ -138,6 +138,8 @@ void VerifyWidget::Verify()
case DiscIO::VolumeVerifier::Severity::High:
severity = tr("High");
break;
case DiscIO::VolumeVerifier::Severity::None:
break;
}

SetProblemCellText(i, 0, QString::fromStdString(problem.text));

0 comments on commit 0dda920

Please sign in to comment.
You can’t perform that action at this time.