mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
Cleanup some misplaced spaces and tabs
This commit is contained in:
@ -135,7 +135,7 @@ void parsePath(const xmlChar *path) {
|
|||||||
|
|
||||||
xmlExternalEntityLoader defaultEntityLoader = NULL;
|
xmlExternalEntityLoader defaultEntityLoader = NULL;
|
||||||
|
|
||||||
static xmlParserInputPtr
|
static xmlParserInputPtr
|
||||||
xsltprocExternalEntityLoader(const char *URL, const char *ID,
|
xsltprocExternalEntityLoader(const char *URL, const char *ID,
|
||||||
xmlParserCtxtPtr ctxt) {
|
xmlParserCtxtPtr ctxt) {
|
||||||
xmlParserInputPtr ret;
|
xmlParserInputPtr ret;
|
||||||
@ -186,10 +186,10 @@ xsltprocExternalEntityLoader(const char *URL, const char *ID,
|
|||||||
ctxt->sax->warning = warning;
|
ctxt->sax->warning = warning;
|
||||||
if (load_trace) {
|
if (load_trace) {
|
||||||
fprintf \
|
fprintf \
|
||||||
(stderr,
|
(stderr,
|
||||||
"Loaded URL=\"%s\" ID=\"%s\"\n",
|
"Loaded URL=\"%s\" ID=\"%s\"\n",
|
||||||
newURL,
|
newURL,
|
||||||
ID ? ID : "(null)");
|
ID ? ID : "(null)");
|
||||||
}
|
}
|
||||||
xmlFree(newURL);
|
xmlFree(newURL);
|
||||||
return(ret);
|
return(ret);
|
||||||
@ -211,7 +211,7 @@ xsltprocExternalEntityLoader(const char *URL, const char *ID,
|
|||||||
* Internal timing routines to remove the necessity to have unix-specific
|
* Internal timing routines to remove the necessity to have unix-specific
|
||||||
* function calls
|
* function calls
|
||||||
*/
|
*/
|
||||||
#ifndef HAVE_GETTIMEOFDAY
|
#ifndef HAVE_GETTIMEOFDAY
|
||||||
#ifdef HAVE_SYS_TIMEB_H
|
#ifdef HAVE_SYS_TIMEB_H
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#ifdef HAVE_FTIME
|
#ifdef HAVE_FTIME
|
||||||
@ -355,7 +355,7 @@ static void
|
|||||||
xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
|
xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
|
||||||
xmlDocPtr res;
|
xmlDocPtr res;
|
||||||
xsltTransformContextPtr ctxt;
|
xsltTransformContextPtr ctxt;
|
||||||
|
|
||||||
|
|
||||||
#ifdef LIBXML_XINCLUDE_ENABLED
|
#ifdef LIBXML_XINCLUDE_ENABLED
|
||||||
if (xinclude) {
|
if (xinclude) {
|
||||||
@ -746,7 +746,6 @@ main(int argc, char **argv)
|
|||||||
} else if ((!strcmp(argv[i],"-dumpextensions"))||
|
} else if ((!strcmp(argv[i],"-dumpextensions"))||
|
||||||
(!strcmp(argv[i],"--dumpextensions"))) {
|
(!strcmp(argv[i],"--dumpextensions"))) {
|
||||||
dumpextensions++;
|
dumpextensions++;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Unknown option %s\n", argv[i]);
|
fprintf(stderr, "Unknown option %s\n", argv[i]);
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
@ -768,7 +767,7 @@ main(int argc, char **argv)
|
|||||||
exsltRegisterAll();
|
exsltRegisterAll();
|
||||||
xsltRegisterTestModule();
|
xsltRegisterTestModule();
|
||||||
|
|
||||||
if (dumpextensions)
|
if (dumpextensions)
|
||||||
xsltDebugDumpExtensions(NULL);
|
xsltDebugDumpExtensions(NULL);
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
@ -811,7 +810,7 @@ main(int argc, char **argv)
|
|||||||
if (timing)
|
if (timing)
|
||||||
startTimer();
|
startTimer();
|
||||||
style = xmlReadFile((const char *) argv[i], NULL, options);
|
style = xmlReadFile((const char *) argv[i], NULL, options);
|
||||||
if (timing)
|
if (timing)
|
||||||
endTimer("Parsing stylesheet %s", argv[i]);
|
endTimer("Parsing stylesheet %s", argv[i]);
|
||||||
if (xincludestyle) {
|
if (xincludestyle) {
|
||||||
if (style != NULL) {
|
if (style != NULL) {
|
||||||
|
Reference in New Issue
Block a user