Skip to content

Commit e47df5c

Browse files
authored
Update NonConstantFormat.ql
Removed dead comment
1 parent e8587d0 commit e47df5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ where
136136
call.getArgument(call.getFormatParameterIndex()) = formatString and
137137
NonConstFlow::flowTo(sink) and
138138
isSinkImpl(sink, formatString)
139-
select formatString, //sink.getNode(), src, sink,
139+
select formatString,
140140
"The format string argument to " + call.getTarget().getName() +
141141
" should be constant to prevent security issues and other potential errors."

0 commit comments

Comments
 (0)