mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C/C++ : Fixed select issue in Useless Test
This commit is contained in:
@@ -40,4 +40,4 @@ where
|
||||
ne.getRightOperand() instanceof Literal and
|
||||
nearestParent(eq) = nearestParent(ne) and
|
||||
sameExpr(eq.getLeftOperand(), ne.getLeftOperand())
|
||||
select "Useless test", ne
|
||||
select ne,"Useless Test"
|
||||
|
||||
Reference in New Issue
Block a user