Skip to content

util: throw if unreachable code is reached

Rodrigo Muino Tomonari requested to merge github/fork/Trott/comp-unre into master

If a comparison code path that is supposed to be unreachable is reached, throw. Add a c8 comment to ignore coverage for the line, as it should be unreachable.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading