mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C++/C#: Bind parameter in new case.
This commit is contained in:
@@ -657,6 +657,7 @@ class TranslatedSwitchStmt extends TranslatedStmt {
|
||||
)
|
||||
or
|
||||
not stmt.hasDefaultCase() and
|
||||
tag = SwitchBranchTag() and
|
||||
kind instanceof DefaultEdge and
|
||||
result = getParent().getChildSuccessor(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user