One more unused variable

This commit is contained in:
Richard Kimberly Heck 2022-12-08 15:19:03 -05:00
parent b0fa3efd57
commit 4e7f6949bf

View File

@ -4609,7 +4609,6 @@ def convert_starred_refs(document):
i = find_token(document.body, "\\begin_inset CommandInset ref", i) i = find_token(document.body, "\\begin_inset CommandInset ref", i)
if i == -1: if i == -1:
break break
start = i
end = find_end_of_inset(document.body, i) end = find_end_of_inset(document.body, i)
if end == -1: if end == -1:
document.warning("Malformed LyX document: Can't find end of inset at line %d" % i) document.warning("Malformed LyX document: Can't find end of inset at line %d" % i)