loolwsd/MessageQueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9e180171c2c59aea57cee4abd04465bc1810b15c Author: Jan Holesovsky <ke...@collabora.com> Date: Tue Mar 29 12:42:45 2016 +0200 WaE: Shadowed variable. diff --git a/loolwsd/MessageQueue.cpp b/loolwsd/MessageQueue.cpp index cf2c480..61acb20 100644 --- a/loolwsd/MessageQueue.cpp +++ b/loolwsd/MessageQueue.cpp @@ -76,8 +76,8 @@ void BasicTileQueue::put_impl(const Payload& value) { // must not remove the tiles with 'id=', they are special, used // eg. for previews etc. - const auto msg = std::string(&v[0], v.size()); - return (msg.compare(0, 5, "tile ") == 0) && (msg.find("id=") == std::string::npos); + const auto tmp = std::string(&v[0], v.size()); + return (tmp.compare(0, 5, "tile ") == 0) && (tmp.find("id=") == std::string::npos); } ), _queue.end()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits