mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-05 23:35:48 +03:00
moved the extension dump out of the loop Daniel
* xsltproc/xsltproc.c: moved the extension dump out of the loop Daniel
This commit is contained in:
@@ -574,6 +574,9 @@ main(int argc, char **argv)
|
||||
exsltRegisterAll();
|
||||
xsltRegisterTestModule();
|
||||
|
||||
if (dumpextensions)
|
||||
xsltDebugDumpExtensions(NULL);
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
if ((!strcmp(argv[i], "-maxdepth")) ||
|
||||
(!strcmp(argv[i], "--maxdepth"))) {
|
||||
@@ -594,9 +597,6 @@ main(int argc, char **argv)
|
||||
i += 2;
|
||||
continue;
|
||||
}
|
||||
if (dumpextensions)
|
||||
xsltDebugDumpExtensions(NULL);
|
||||
|
||||
if ((argv[i][0] != '-') || (strcmp(argv[i], "-") == 0)) {
|
||||
if (timing)
|
||||
startTimer();
|
||||
|
Reference in New Issue
Block a user