Skip to content

Commit d72ea52

Browse files
committed
C++: More accurate test tags.
1 parent 55a7adf commit d72ea52

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Format/WrongNumberOfFormatArguments

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Format/WrongNumberOfFormatArguments/macros.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void testMacros(int a, int b, int c)
1313
GOODPRINTF("%i %i %i\n", a, b, c); // GOOD
1414
GOODPRINTF("%i %i %i %i\n", a, b, c); // BAD: too few format arguments
1515

16-
BADPRINTF("%i %i\n", a, b, 0); // BAD: too many format arguments
16+
BADPRINTF("%i %i\n", a, b, 0); // DUBIOUS: too many format arguments
1717
// ^ here there are too many format arguments, but the design of the Macro forces the user
1818
// to do this, and the extra argument is harmlessly ignored in practice. Reporting these
1919
// results can be extremely noisy (e.g. in openldap).

0 commit comments

Comments
 (0)