Remove variable that is not used

Spotted by clang++ 13.

(cherry picked from commit d99502d915)
This commit is contained in:
Jean-Marc Lasgouttes 2021-10-15 15:49:40 +02:00
parent cad91ec1bc
commit 3beb9b326d

View File

@ -2745,10 +2745,7 @@ void GuiDocument::updateEngineType(string const & items, CiteEngineType const &
{
engine_types_.clear();
int nn = 0;
for (int n = 0; !token(items, '|', n).empty(); ++n) {
nn += 1;
string style = token(items, '|', n);
engine_types_.push_back(style);
}