diff auto/lib/libxslt/conf @ 7327:f7e79596baf2

Configure: fixed compiler warnings with "-Wall -Wextra".
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 24 Jul 2018 18:46:54 +0300
parents 85dea406e18f
children
line wrap: on
line diff
--- a/auto/lib/libxslt/conf
+++ b/auto/lib/libxslt/conf
@@ -16,8 +16,8 @@
     ngx_feature_libs="-lxml2 -lxslt"
     ngx_feature_test="xmlParserCtxtPtr    ctxt = NULL;
                       xsltStylesheetPtr   sheet = NULL;
-                      xmlDocPtr           doc;
-                      doc = xmlParseChunk(ctxt, NULL, 0, 0);
+                      xmlDocPtr           doc = NULL;
+                      xmlParseChunk(ctxt, NULL, 0, 0);
                       xsltApplyStylesheet(sheet, doc, NULL);"
     . auto/feature