W3006 Safety Warnings

Safety

empty default branch in when statement; unmatched values are silently ignored

When this occurs

This error is triggered when: empty default branch in when statement; unmatched values are silently ignored

Example error message

warning[W3006]: empty default branch in when statement; unmatched values are silently ignored

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.