]> git.lyx.org Git - lyx.git/commitdiff
Remove variable that is not used
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 15 Oct 2021 13:49:40 +0000 (15:49 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 15 Oct 2021 13:51:13 +0000 (15:51 +0200)
Spotted by clang++ 13.

(cherry picked from commit d99502d9154e7e51a665f03963e010411e9545be)

src/frontends/qt4/GuiDocument.cpp

index 41b08fce7e692da28b215363114a51a57b7749a0..b20e16a771932f63f2408ee58037ed0a74f66fe6 100644 (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);
        }