aboutsummaryrefslogtreecommitdiff
path: root/c/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/data.cpp')
-rw-r--r--c/data.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/c/data.cpp b/c/data.cpp
index 8d064a8..dd29ca8 100644
--- a/c/data.cpp
+++ b/c/data.cpp
@@ -84,7 +84,6 @@ void FetchData()
/* The episode data are contained in table rows matching a
* (very!) specific XPath query. This is fragile
* theoretically, but unlikely to break practically. */
-
HtmlDocPtr doc = ctxt->myDoc;
XmlXPathContextPtr xpathCtx = xmlXPathNewContext(doc);
XmlXPathObjectPtr xpathObj = xmlXPathEvalExpression(
@@ -110,7 +109,6 @@ void FetchData()
/* Each datum is contained within a specific cell in
* the row. The child element count above ensures that
* none of the following nodes are null. */
-
const xmlNodePtr nodeEp = xmlFirstElementChild(node);
const xmlNodePtr nodeTitle = xmlNextElementSibling(xmlNextElementSibling(nodeEp));
const xmlNodePtr nodeDate = xmlNextElementSibling(nodeTitle);