mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Use [[fallthrough]] in some switch statements
This commit is contained in:
@@ -215,7 +215,7 @@ invoke_calculateConsequences(STTx const& tx)
|
||||
case ttTRUST_SET: return invoke_calculateConsequences<SetTrust>(tx);
|
||||
case ttAMENDMENT:
|
||||
case ttFEE:
|
||||
// fall through to default
|
||||
[[fallthrough]];
|
||||
default:
|
||||
assert(false);
|
||||
return { TxConsequences::blocker, Transactor::calculateFeePaid(tx),
|
||||
|
||||
Reference in New Issue
Block a user