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

    Unused variable.
    
    Spotted by Jose, aka gcc-16.
    
    (cherry picked from commit 7403d416199fe3a669cc99d77150cb2d998109e1)
---
 src/BiblioInfo.cpp | 2 +-
 status.25x         | 3 +++
 2 files changed, 4 insertions(+), 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")" : "";
 
diff --git a/status.25x b/status.25x
index 724328c036..2260e67aad 100644
--- a/status.25x
+++ b/status.25x
@@ -43,6 +43,7 @@ What's new
 
 * USER INTERFACE
 
+- Avoid crash when one manages to set cursor inset info inset (bug 12808).
 
 
 * INTERNALS
@@ -72,6 +73,8 @@ What's new
 
 * BUILD/INSTALLATION
 
+- Fix gcc warning about a unused variable.
+
 
 * MISCELLANEOUS
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to