From: Scott Kostyshak Date: Thu, 8 Dec 2022 18:32:00 +0000 (-0500) Subject: lyx2lyx: remove unused variable X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f0a2114268b57257dfec0b0d594885ba0a7ce862;p=features.git lyx2lyx: remove unused variable Amend 7bbaead5. --- diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index 24e13df29e..a95daf0029 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