]> git.lyx.org Git - features.git/commitdiff
lyx2lyx: remove unused variable
authorScott Kostyshak <skostysh@lyx.org>
Thu, 8 Dec 2022 18:32:00 +0000 (13:32 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 8 Dec 2022 18:32:00 +0000 (13:32 -0500)
Amend 7bbaead5.

lib/lyx2lyx/lyx_2_4.py

index 24e13df29eb5e40e1d8994ccffbf13fba2802eaa..a95daf0029edf667e1d6391cdb3b9760b9d54f37 100644 (file)
@@ -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