From f44ee891beaad397481dd88da41cb80e6539774f Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sat, 14 Jan 2017 18:03:38 +0100 Subject: Style: Fix statements ending with ';;' --- core/resource.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/resource.cpp') diff --git a/core/resource.cpp b/core/resource.cpp index df18d9584..4b09a506f 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -200,7 +200,7 @@ void Resource::set_path(const String& p_path, bool p_take_over) { if (path_cache!="") { ResourceCache::lock->write_lock(); - ResourceCache::resources[path_cache]=this;; + ResourceCache::resources[path_cache]=this; ResourceCache::lock->write_unlock(); } @@ -534,9 +534,9 @@ void ResourceCache::reload_externals() { bool ResourceCache::has(const String& p_path) { - lock->read_lock();; + lock->read_lock(); bool b = resources.has(p_path); - lock->read_unlock();; + lock->read_unlock(); return b; -- cgit v1.2.3-70-g09d2