mirror of
https://github.com/github/codeql.git
synced 2026-01-30 23:02:56 +01: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