diff --git a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h index 8231d9a5..cb8d6228 100644 --- a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h +++ b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h @@ -85,14 +85,6 @@ class ChapterHtmlSlimParser { int xpathBodyDepth = -1; // depth of the
element (-1 = not yet seen) std::vectorindex at each page completion - // Paragraph index tracking for XPath-to-page lookup table. - // Counts
sibling indices (1-based, matching XPath convention) during page building. - // Stored per page in the section cache so that XPath p[N] can be resolved to a page - // without reparsing, and current page can generate an XPath without reparsing. - uint16_t xpathParagraphIndex = 0; // current
sibling index (1-based) - int xpathBodyDepth = -1; // depth of the
element (-1 = not yet seen) - std::vector index at each page completion
-
// Footnote link tracking
bool insideFootnoteLink = false;
int footnoteLinkDepth = -1;
diff --git a/lib/hal/HalStorage.cpp b/lib/hal/HalStorage.cpp
index 9a6d1c9e..82b6e03c 100644
--- a/lib/hal/HalStorage.cpp
+++ b/lib/hal/HalStorage.cpp
@@ -176,8 +176,5 @@ HalFile HalFile::openNextFile() {
assert(impl != nullptr);
return HalFile(std::make_unique