Skip to content

Commit f26330e

Browse files
committed
Removing redundant/bad string type check.
1 parent 6fb0192 commit f26330e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class StringConcatenation extends Call {
5050
(
5151
result.getUnderlyingType().stripType().getName() = "char"
5252
or
53-
result.getUnderlyingType().getName() = "string"
54-
or
5553
result
5654
.getType()
5755
.getUnspecifiedType()

0 commit comments

Comments
 (0)