| Index: third_party/libxml/src/error.c
|
| diff --git a/third_party/libxml/src/error.c b/third_party/libxml/src/error.c
|
| index 9c4504055caaa1e213db1d97021e3d0d3be413da..4ca68380b05f61985ba5c8efe0b22cc6ae38d23f 100644
|
| --- a/third_party/libxml/src/error.c
|
| +++ b/third_party/libxml/src/error.c
|
| @@ -177,8 +177,8 @@ xmlParserPrintFileContextInternal(xmlParserInputPtr input ,
|
| xmlChar content[81]; /* space for 80 chars + line terminator */
|
| xmlChar *ctnt;
|
|
|
| - if ((input == NULL) || (input->cur == NULL) ||
|
| - (*input->cur == 0)) return;
|
| + if ((input == NULL) || (input->cur == NULL))
|
| + return;
|
|
|
| cur = input->cur;
|
| base = input->base;
|
|
|