summaryrefslogtreecommitdiffstats
path: root/core/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-22 12:42:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-22 09:07:27 -0400
commitee0fc25cf31050720f111266d39106d46306a21a (patch)
treeffe3961251fbecd630a06161769b9ce846e8bf2a /core/parse-xml.c
parent9c6d24e50e223b62ce338ae4e802942c25da6872 (diff)
downloadsubsurface-ee0fc25cf31050720f111266d39106d46306a21a.tar.gz
Parser: remove webservice related code
Recently, the subsurface webservice was removed. Remove the corresponding code in the parser. This removes a static variable, which was used to generate unique dive-site ids. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r--core/parse-xml.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index 5a6474b20..ec6d175c3 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -1520,11 +1520,6 @@ static void uddf_importer(void)
xml_parsing_units.temperature = KELVIN;
}
-static void subsurface_webservice(void)
-{
- import_source = SSRF_WS;
-}
-
/*
* I'm sure this could be done as some fancy DTD rules.
* It's just not worth the headache.
@@ -1557,7 +1552,6 @@ static struct nesting {
/* Import type recognition */
{ "Divinglog", DivingLog_importer },
{ "uddf", uddf_importer },
- { "output", subsurface_webservice },
{ NULL, }
};