commit 0111d1b5d2ba79e0d8fc7ed8fb18d8a1d8ce0f8c
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Feb 20 15:55:07 2026 +0100

    Rename another shadowing unsigned
---
 src/insets/InsetIndex.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index e0348be87a..0df95366e4 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -1775,10 +1775,10 @@ void outputIndexPage(XMLStream & xs, const IndexNode* 
root_node, unsigned depth
                xs << XMLStream::ESCAPE_NONE << " &#8212; "; // Em dash, i.e. 
long (---).
                unsigned entry_number = 1;
 
-               auto writeLinkToEntry = [&xs](const IndexEntry &entry, unsigned 
entry_number) {
+               auto writeLinkToEntry = [&xs](const IndexEntry &entry, unsigned 
entry_num) {
                        std::string const link_attr = "href='#" + 
entry.inset()->paragraphs()[0].magicLabel() + "'";
                        xs << xml::StartTag("a", link_attr);
-                       xs << from_ascii(std::to_string(entry_number));
+                       xs << from_ascii(std::to_string(entry_num));
                        xs << xml::EndTag("a");
                };
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to