Remove unused variables

This commit is contained in:
Jean-Marc Lasgouttes 2018-01-06 15:48:36 +01:00
parent 0e4456ae2e
commit af9f3fe8bd

View File

@ -1076,8 +1076,6 @@ GuiDocument::GuiDocument(GuiView & lv)
// Always put the default encoding in the first position.
langModule->encodingCO->addItem(qt_("Language Default (no inputenc)"));
QStringList encodinglist;
Encodings::const_iterator it = encodings.begin();
Encodings::const_iterator const end = encodings.end();
for (auto const & encvar : encodings) {
if (!encvar.unsafe() && !encvar.guiName().empty())
encodinglist.append(qt_(encvar.guiName()));