Skip to content

src: add default: case to silence compiler warning

This fails compilation on at least one platform because there is no default: case, despite all currently possible enum values being listed.

Fix that by adding a default message that won’t be used unless V8 introduces new enum values.

Refs: https://github.com/nodejs/node/commit/c7eeef568ce5a3714b89689160ec85c017527364#commitcomment-39228519

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

Merge request reports

Loading