Fix C90 compatibility issue.
This commit is contained in:
parent
666d5bb1f4
commit
869ab4a4e5
|
@ -1101,8 +1101,8 @@ __attribute__((format(printf, 2, 3)))
|
||||||
|
|
||||||
void message( TidyDocImpl* doc, TidyReportLevel level, ctmbstr msg, ... )
|
void message( TidyDocImpl* doc, TidyReportLevel level, ctmbstr msg, ... )
|
||||||
{
|
{
|
||||||
if (level == TidyInfo && !cfgBool(doc, TidyShowInfo)) return;
|
|
||||||
va_list args;
|
va_list args;
|
||||||
|
if (level == TidyInfo && !cfgBool(doc, TidyShowInfo)) return;
|
||||||
va_start( args, msg );
|
va_start( args, msg );
|
||||||
messagePos( doc, level, 0, 0, msg, args );
|
messagePos( doc, level, 0, 0, msg, args );
|
||||||
va_end( args );
|
va_end( args );
|
||||||
|
|
Loading…
Reference in a new issue