]> git.lyx.org Git - features.git/commitdiff
Do not use trailing underscore for local variable
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Feb 2019 15:04:15 +0000 (16:04 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:58 +0000 (14:39 +0200)
src/frontends/qt4/GuiApplication.cpp

index 3a5fd12d5e2a59831b27dd2cd3681736c3e2d7c8..28b4da4fadb281576ea770f2c7e1bb8c6cedc36f 100644 (file)
@@ -2920,13 +2920,13 @@ void GuiApplication::hideDialogs(string const & name, Inset * inset) const
 
 Buffer const * GuiApplication::updateInset(Inset const * inset) const
 {
-       Buffer const * buffer_ = 0;
+       Buffer const * buf = 0;
        QHash<int, GuiView *>::const_iterator end = d->views_.end();
        for (QHash<int, GuiView *>::iterator it = d->views_.begin(); it != end; ++it) {
                if (Buffer const * ptr = (*it)->updateInset(inset))
-                       buffer_ = ptr;
+                       buf = ptr;
        }
-       return buffer_;
+       return buf;
 }