commit 91fc45ed359413432190a4a323fd7ca73e0238b6
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Mon Feb 18 16:04:15 2019 +0100
Do not use trailing underscore for local variable
---
src/frontends/qt4/GuiApplication.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt4/GuiApplication.cpp
b/src/frontends/qt4/GuiApplication.cpp
index 3a5fd12..28b4da4 100644
--- a/src/frontends/qt4/GuiApplication.cpp
+++ b/src/frontends/qt4/GuiApplication.cpp
@@ -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;
}