aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-03-23 10:29:35 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-04-21 06:53:23 -0400
commit398c3719b02197ad92fded20f6ff83b364747297 (patch)
treeefaea4b0c9c5befe6bd0968cfef714e122d457ee /src/init.cpp
parentc63c8a159060e5ab1e896aa6808602bcc55eae29 (diff)
lint: Fix lint-format-strings false positives when format specifiers have argument positions
Do not error on valid format specifications like strprintf("arg2=%2$s arg1=%1$s arg2=%2$s", arg1, arg2); Needed to avoid lint error in upcoming commit: https://cirrus-ci.com/task/4755032734695424?logs=lint#L221 Additionally tested with python -m doctest test/lint/run-lint-format-strings.py
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions