We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0063fa2 commit 73b55f0Copy full SHA for 73b55f0
cpp/ql/src/semmle/code/cpp/commons/Printf.qll
@@ -30,8 +30,7 @@ class AttributeFormattingFunction extends FormattingFunction {
30
}
31
32
override int getFormatParameterIndex() {
33
- forex(PrintfFormatAttribute printf_attrib |
34
- printf_attrib = getAnAttribute() |
+ forex(PrintfFormatAttribute printf_attrib | printf_attrib = getAnAttribute() |
35
result = printf_attrib.getFormatIndex()
36
)
37
0 commit comments