diff --git a/src/link/patch.cpp b/src/link/patch.cpp index 9fd66e32..bc58af53 100644 --- a/src/link/patch.cpp +++ b/src/link/patch.cpp @@ -456,6 +456,11 @@ static int32_t computeRPNExpr(Patch const &patch, std::vector const &fil } break; } + + // LCOV_EXCL_START + default: + fatalAt(patch, "Invalid RPN command $%02x", static_cast(command)); + // LCOV_EXCL_STOP } pushRPN(value, isError);