1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r2504: Add printf attribute, for format argument checking.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2004-09-22 10:32:56 +00:00 committed by Gerald (Jerry) Carter
parent 9710f24b1f
commit 543401990a

View File

@ -2407,6 +2407,8 @@ static BOOL do_parameter(const char *pszParmName, const char *pszParmValue)
/*
variable argument do parameter
*/
static BOOL do_parameter_var(const char *pszParmName, const char *fmt, ...) PRINTF_ATTRIBUTE(2, 3);
static BOOL do_parameter_var(const char *pszParmName, const char *fmt, ...)
{
char *s;