remove a msvc warning
This commit is contained in:
parent
60d8271ecf
commit
f1297f718c
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue