mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Remove unnecessary cast.
This commit is contained in:
@@ -3,7 +3,7 @@ import cpp
|
||||
from SizeofOperator sto, string elemDesc, Element e
|
||||
where
|
||||
elemDesc = "SizeofOperator.getTypeOperand()" and
|
||||
e = sto.(SizeofOperator).getTypeOperand()
|
||||
e = sto.getTypeOperand()
|
||||
or
|
||||
elemDesc = "SizeofExprOperator.getExprOperand()" and
|
||||
e = sto.(SizeofExprOperator).getExprOperand()
|
||||
|
||||
Reference in New Issue
Block a user