diff --git a/src/tidylib.c b/src/tidylib.c index 85d59e2..ce72acd 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1436,8 +1436,8 @@ int TY_(DocParseStream)( TidyDocImpl* doc, StreamIn* in ) Bool xmlIn = cfgBool( doc, TidyXmlTags ); TidyConfigChangeCallback callback = doc->pConfigChangeCallback; - doc->pConfigChangeCallback = NULL; int bomEnc; + doc->pConfigChangeCallback = NULL; assert( doc != NULL && in != NULL ); assert( doc->docIn == NULL );