6888953: some calls to function-like macros are missing semicolons

Reviewed-by: pbk, kvn
This commit is contained in:
John Coomes 2009-10-11 16:19:25 -07:00
parent 83f1d02a67
commit 7e76feaf42
31 changed files with 36 additions and 35 deletions

View file

@ -328,7 +328,7 @@ void xmlStream::done_raw(const char* kind) {
// ------------------------------------------------------------------
void xmlStream::va_done(const char* format, va_list ap) {
char buffer[200];
guarantee(strlen(format) + 10 < sizeof(buffer), "bigger format buffer")
guarantee(strlen(format) + 10 < sizeof(buffer), "bigger format buffer");
const char* kind = format;
const char* kind_end = strchr(kind, ' ');
size_t kind_len = (kind_end != NULL) ? (kind_end - kind) : strlen(kind);