Add -Werror=implicit-fallthrough to cmake build

This commit is contained in:
RipleyTom 2024-01-07 12:56:08 +01:00 committed by Megamouse
parent 74e084c893
commit 0b984e9a23
9 changed files with 10 additions and 2 deletions

View file

@ -800,6 +800,7 @@ void rpcn_account_edit_dialog::change_password()
QMessageBox::information(this, tr("Password Reset Token Sent!"), tr("The reset password token has successfully been sent!"), QMessageBox::Ok);
}
[[fallthrough]];
}
case QMessageBox::Yes:
{
@ -844,6 +845,7 @@ void rpcn_account_edit_dialog::change_password()
QMessageBox::information(this, tr("Password Successfully Changed!"), tr("Your password has been successfully changed!"), QMessageBox::Ok);
}
break;
}
default:
return;