| 506 | */ |
| 507 | |
| 508 | static int |
| 509 | htmlSkipBlankChars(xmlParserCtxtPtr ctxt) { |
| 510 | int res = 0; |
| 511 | |
| 512 | while (IS_BLANK_CH(*(ctxt->input->cur))) { |
| 513 | if (*(ctxt->input->cur) == '\n') { |
| 514 | ctxt->input->line++; ctxt->input->col = 1; |
| 515 | } else ctxt->input->col++; |
| 516 | ctxt->input->cur++; |
| 517 | if (*ctxt->input->cur == 0) |
| 518 | xmlParserGrow(ctxt); |
| 519 | if (res < INT_MAX) |
| 520 | res++; |
| 521 | } |
| 522 | return(res); |
| 523 | } |
| 524 | |
| 525 | |
| 526 |
nothing calls this directly
no test coverage detected