Do not use trailing underscore for local variable

This commit is contained in:
Jean-Marc Lasgouttes 2019-02-18 16:04:15 +01:00
parent 4c90183e4d
commit 91fc45ed35

View 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;
}