mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
add format string marker for better warnings
This commit is contained in:
parent
d066fb0004
commit
c9242ad8e2
|
@ -131,7 +131,11 @@ typedef struct HashTable HashTable;
|
|||
void _plkr_message (
|
||||
const char *formatSpec,
|
||||
...
|
||||
);
|
||||
)
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((format (printf, 1, 2)))
|
||||
#endif
|
||||
;
|
||||
/* Display the message to stderr */
|
||||
|
||||
char *_plkr_strndup (
|
||||
|
|
Loading…
Reference in a new issue