wsd/ClientSession.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit d3d4812583a1feb9cb2fe4d1aafcd9c20f362cae 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/52419 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 00833bd05..8203b2a34 100644 --- a/wsd/ClientSession.cpp +++ b/wsd/ClientSession.cpp @@ -834,16 +834,13 @@ 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; } enqueueSendMessage(payload); - return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits