[LyX/2.3.x] Remove variable that is not used
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Fri Oct 15 15:48:35 UTC 2021
commit 3beb9b326d4bd29e4122d759ef48f32a7488161d
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Fri Oct 15 15:49:40 2021 +0200
Remove variable that is not used
Spotted by clang++ 13.
(cherry picked from commit d99502d9154e7e51a665f03963e010411e9545be)
---
src/frontends/qt4/GuiDocument.cpp | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp
index 41b08fc..b20e16a 100644
--- a/src/frontends/qt4/GuiDocument.cpp
+++ b/src/frontends/qt4/GuiDocument.cpp
@@ -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);
}
More information about the lyx-cvs
mailing list