summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-12-16 09:09:42 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-16 16:20:54 -0800
commit397898434e52ba1e1cc593e83d43080918698a9b (patch)
tree30bc37b0b20b3176382e54739adbaf2cd7c07c57 /parse-xml.c
parentca8aee4701f95a758f93033eb88ca851d61b2008 (diff)
downloadsubsurface-397898434e52ba1e1cc593e83d43080918698a9b.tar.gz
Remove the xslt_path now that all XSLT files are kept in a resource
Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index ea9e96a5e..1812b7dc2 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -22,7 +22,6 @@
int verbose, quit;
static xmlDoc *test_xslt_transforms(xmlDoc *doc, const char **params, char **error);
-char *xslt_path;
/* the dive table holds the overall dive list; target table points at
* the table we are currently filling */
@@ -2012,7 +2011,7 @@ static xmlDoc *test_xslt_transforms(xmlDoc *doc, const char **params, char **err
xmlSubstituteEntitiesDefault(1);
xslt = get_stylesheet(info->file);
if (xslt == NULL) {
- parser_error(error, translate("gettextFromC","Can't open stylesheet (%s)/%s"), xslt_path, info->file);
+ parser_error(error, translate("gettextFromC","Can't open stylesheet %s"), info->file);
return doc;
}
transformed = xsltApplyStylesheet(xslt, doc, params);