From 5af3b4ca279c6dac32a8aef45d5d4a5b27fdb718 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Wed, 6 Nov 2019 17:03:04 +0100 Subject: Remove duplicate ERR_PRINT macro. --- core/bind/core_bind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/bind/core_bind.cpp') diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index efd7e3dbf5..6a314d9ff9 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -3217,7 +3217,7 @@ Ref _JSON::parse(const String &p_json) { result->error = JSON::parse(p_json, result->result, result->error_string, result->error_line); if (result->error != OK) { - ERR_PRINTS(vformat("Error parsing JSON at line %s: %s", result->error_line, result->error_string)); + ERR_PRINT(vformat("Error parsing JSON at line %s: %s", result->error_line, result->error_string)); } return result; } -- cgit v1.2.3 From f0db13502aa455f7bef320261ea3929589fcc6d9 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 7 Nov 2019 09:44:15 +0100 Subject: Remove duplicate WARN_PRINT macro. --- core/bind/core_bind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/bind/core_bind.cpp') diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 6a314d9ff9..e61e392a79 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -110,7 +110,7 @@ PoolStringArray _ResourceLoader::get_dependencies(const String &p_path) { #ifndef DISABLE_DEPRECATED bool _ResourceLoader::has(const String &p_path) { - WARN_PRINTS("ResourceLoader.has() is deprecated, please replace it with the equivalent has_cached() or the new exists()."); + WARN_PRINT("ResourceLoader.has() is deprecated, please replace it with the equivalent has_cached() or the new exists()."); return has_cached(p_path); } #endif // DISABLE_DEPRECATED -- cgit v1.2.3