From e2eaf362ba1b48b1518e1193ca2ae2a8e6e65efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 23 Aug 2022 02:16:10 +0200 Subject: Reimplement SelectUnwatched. --- c/data.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'c/data.cpp') 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); -- cgit v1.2.3