remove a msvc warning

This commit is contained in:
Geoff McLane 2015-01-25 20:18:36 +01:00
parent 60d8271ecf
commit f1297f718c

View file

@ -1066,10 +1066,9 @@ static void messagePos( TidyDocImpl* doc, TidyReportLevel level,
ReportPosition(doc, line, col, buf, sizeBuf); ReportPosition(doc, line, col, buf, sizeBuf);
#if !defined(NDEBUG) && defined(_MSC_VER) #if !defined(NDEBUG) && defined(_MSC_VER)
SPRTF("%s",buf); SPRTF("%s",buf);
#else #endif
for ( cp = buf; *cp; ++cp ) for ( cp = buf; *cp; ++cp )
TY_(WriteChar)( *cp, doc->errout ); TY_(WriteChar)( *cp, doc->errout );
#endif
} }
LevelPrefix( level, buf, sizeBuf ); LevelPrefix( level, buf, sizeBuf );