diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-02-07 11:39:24 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-02-07 11:44:50 +0100 |
commit | 7d65d4cb7d48cd4e4686d911fe10cdec792443cf (patch) | |
tree | bc5274395d19eae710ad37507c413dfe82b03f46 /tests/notes/notes.c | |
parent | bd6b1c41575e7cc011798a424b6564569887c293 (diff) | |
download | libgit2-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