Permalink
Browse files

Fix C90 compatibility issue.

  • Loading branch information...
1 parent 666d5bb commit 869ab4a4e5764cc504b6066603eb0f4291daec3f @sideshowbarker sideshowbarker committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/localize.c
View
@@ -1101,8 +1101,8 @@ __attribute__((format(printf, 2, 3)))
void message( TidyDocImpl* doc, TidyReportLevel level, ctmbstr msg, ... )
{
- if (level == TidyInfo && !cfgBool(doc, TidyShowInfo)) return;
va_list args;
+ if (level == TidyInfo && !cfgBool(doc, TidyShowInfo)) return;
va_start( args, msg );
messagePos( doc, level, 0, 0, msg, args );
va_end( args );

0 comments on commit 869ab4a

Please sign in to comment.