Index: third_party/libxslt/libxslt/extensions.c |
diff --git a/third_party/libxslt/libxslt/extensions.c b/third_party/libxslt/libxslt/extensions.c |
index 30c3368def28ac348c5e0352a34150c29af6a0cc..5ad73cb98a22bda296f2b4fa30e303f001c30e57 100644 |
--- a/third_party/libxslt/libxslt/extensions.c |
+++ b/third_party/libxslt/libxslt/extensions.c |
@@ -1622,7 +1622,7 @@ xsltRegisterExtModuleElement(const xmlChar * name, const xmlChar * URI, |
xsltPreComputeFunction precomp, |
xsltTransformFunction transform) |
{ |
- int ret; |
+ int ret = 0; |
xsltExtElementPtr ext; |
@@ -1648,7 +1648,7 @@ xsltRegisterExtModuleElement(const xmlChar * name, const xmlChar * URI, |
done: |
xmlMutexUnlock(xsltExtMutex); |
- return (0); |
+ return (ret); |
} |
/** |