summaryrefslogtreecommitdiff
path: root/tests/notes/notes.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-02-07 11:39:24 +0100
committerPatrick Steinhardt <ps@pks.im>2020-02-07 11:44:50 +0100
commit7d65d4cb7d48cd4e4686d911fe10cdec792443cf (patch)
treebc5274395d19eae710ad37507c413dfe82b03f46 /tests/notes/notes.c
parentbd6b1c41575e7cc011798a424b6564569887c293 (diff)
downloadlibgit2-7d65d4cb7d48cd4e4686d911fe10cdec792443cf.tar.gz
tests: blame: fix conversion specifiers in format string
While the blame helper function `hunk_message` accepts a printf-style format string, we didn't add a compiler attribute to let the compiler check for correct conversion specifiers. As a result, some users of the function used wrong specifiers. Add the GIT_FORMAT_PRINTF attribute to the function and fix resulting warnings by using the correct specifiers.
Diffstat (limited to 'tests/notes/notes.c')
0 files changed, 0 insertions, 0 deletions