wsd/ClientSession.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 1f30b1fe9fc7de54f908e0d39e4f89aad6569688 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Wed Feb 28 09:20:55 2018 -0500 wsd: localize variables Change-Id: I411e435fa2360423b4c48d087eb501b942cc637d Reviewed-on: https://gerrit.libreoffice.org/52681 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/wsd/ClientSession.cpp b/wsd/ClientSession.cpp index 5d172417a..d85366ef2 100644 --- a/wsd/ClientSession.cpp +++ b/wsd/ClientSession.cpp @@ -869,11 +869,9 @@ bool ClientSession::handleKitToClientMessage(const char* buffer, const int lengt bool ClientSession::forwardToClient(const std::shared_ptr<Message>& payload) { - const auto& message = payload->abbr(); - if (isCloseFrame()) { - LOG_TRC(getName() << ": peer began the closing handshake. Dropping forward message [" << message << "]."); + LOG_TRC(getName() << ": peer began the closing handshake. Dropping forward message [" << payload->abbr() << "]."); return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits