commit 7403d416199fe3a669cc99d77150cb2d998109e1
Author: Pavel Sanda <[email protected]>
Date:   Sat Feb 28 23:32:27 2026 +0100

    Unused variable.
    
    Spotted by Jose, aka gcc-16.
---
 src/BiblioInfo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp
index 85f782cf2c..5976d41054 100644
--- a/src/BiblioInfo.cpp
+++ b/src/BiblioInfo.cpp
@@ -1691,7 +1691,7 @@ void authorsToDocBookAuthorGroup(docstring const & 
authorsString, XMLStream & xs
 
        auto it = authors.cbegin();
        auto en = authors.cend();
-       for (size_t i = 0; it != en; ++it, ++i) {
+       for (; it != en; ++it) {
                const std::string tag = (type.empty() || type == "author") ? 
"author" : "othercredit";
                const std::string attr = (type == "book") ? R"(class="other" 
otherclass="bookauthor")" : "";
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to