From b52cc9822d2b645e6ff9d383cb8642b817d909c0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 8 May 2014 13:29:53 +0200 Subject: [PATCH] Fix missing variable assignment in Zone::CanAccessObject(). Refs #6107 --- lib/remote/zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/zone.cpp b/lib/remote/zone.cpp index df9856448..adf140df8 100644 --- a/lib/remote/zone.cpp +++ b/lib/remote/zone.cpp @@ -51,7 +51,7 @@ bool Zone::CanAccessObject(const DynamicObject::Ptr& object) const if (dynamic_pointer_cast(object)) object_zone = static_pointer_cast(object); else - Zone::GetByName(object->GetZone()); + object_zone = Zone::GetByName(object->GetZone()); if (!object_zone) object_zone = Zone::GetLocalZone(); -- 2.40.0