aboutsummaryrefslogtreecommitdiff
path: root/c/data.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-23 02:16:10 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-23 02:16:10 +0200
commite2eaf362ba1b48b1518e1193ca2ae2a8e6e65efa (patch)
tree620e219289c434ddc6371d2a112ac2e8bfe759d8 /c/data.cpp
parent3962b1bdfb2a8a2e3a5ff4f4e51a61b0c44f2e6b (diff)
downloadEpisodeBrowser-e2eaf362ba1b48b1518e1193ca2ae2a8e6e65efa.tar.gz
Reimplement SelectUnwatched.
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);