mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Replace getDefaultOrNullDefaultCase with getDefaultCase
This commit is contained in:
@@ -14,5 +14,5 @@ where
|
||||
switch.getExpr().getType() = enum and
|
||||
missing.getDeclaringType() = enum and
|
||||
not switch.getAConstCase().getValue() = missing.getAnAccess() and
|
||||
not exists(switch.getDefaultOrNullDefaultCase())
|
||||
not exists(switch.getDefaultCase())
|
||||
select switch
|
||||
|
||||
Reference in New Issue
Block a user