mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
ensure fallthrough doesn't execute wrong codepath
This commit is contained in:
@@ -153,6 +153,8 @@ Change::preclaim(PreclaimContext const& ctx)
|
||||
return tesSUCCESS;
|
||||
case ttAMENDMENT:
|
||||
case ttUNL_MODIFY:
|
||||
case ttEMIT_FAILURE:
|
||||
return tesSUCCESS;
|
||||
case ttUNL_REPORT: {
|
||||
if (!ctx.tx.isFieldPresent(sfImportVLKey) ||
|
||||
ctx.app.config().IMPORT_VL_KEYS.empty())
|
||||
@@ -187,8 +189,6 @@ Change::preclaim(PreclaimContext const& ctx)
|
||||
|
||||
return telIMPORT_VL_KEY_NOT_RECOGNISED;
|
||||
}
|
||||
case ttEMIT_FAILURE:
|
||||
return tesSUCCESS;
|
||||
default:
|
||||
return temUNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user