mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 10:11:11 +00:00
common: mark printf-style formatting for giterr_set
This commit is contained in:
parent
19981467ea
commit
8effd26f59
@ -103,7 +103,8 @@
|
|||||||
/**
|
/**
|
||||||
* Set the error message for this thread, formatting as needed.
|
* Set the error message for this thread, formatting as needed.
|
||||||
*/
|
*/
|
||||||
void giterr_set(int error_class, const char *string, ...);
|
|
||||||
|
void giterr_set(int error_class, const char *string, ...) GIT_FORMAT_PRINTF(2, 3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the error message for a regex failure, using the internal regex
|
* Set the error message for a regex failure, using the internal regex
|
||||||
|
Loading…
Reference in New Issue
Block a user