[LyX/master] lyx2lyx: remove unused variable

Scott Kostyshak skostysh at lyx.org
Thu Dec 8 17:36:36 UTC 2022


commit f0a2114268b57257dfec0b0d594885ba0a7ce862
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Thu Dec 8 13:32:00 2022 -0500

    lyx2lyx: remove unused variable
    
    Amend 7bbaead5.
---
 lib/lyx2lyx/lyx_2_4.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py
index 24e13df..a95daf0 100644
--- a/lib/lyx2lyx/lyx_2_4.py
+++ b/lib/lyx2lyx/lyx_2_4.py
@@ -4635,7 +4635,6 @@ def convert_starred_refs(document):
             document.warning("Malformed LyX document: Can't find end of inset at line %d" % i)
             i += 1
             continue
-        noprefixline = document.body[i + 5]
         newlineat = end - 2
         document.body.insert(newlineat, "nolink \"false\"")
         i = end + 1


More information about the lyx-cvs mailing list