From 2511c439727226f64def8b15b38d084db187cf55 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sun, 5 Jul 2020 19:19:36 +0200 Subject: Mono/C#: Fix several clang-tidy warnings and cleanup --- modules/mono/editor/csharp_project.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/mono/editor/csharp_project.cpp') diff --git a/modules/mono/editor/csharp_project.cpp b/modules/mono/editor/csharp_project.cpp index 3a30f3106c..6f54eb09a2 100644 --- a/modules/mono/editor/csharp_project.cpp +++ b/modules/mono/editor/csharp_project.cpp @@ -45,8 +45,9 @@ namespace CSharpProject { void add_item(const String &p_project_path, const String &p_item_type, const String &p_include) { - if (!GLOBAL_DEF("mono/project/auto_update_project", true)) + if (!GLOBAL_DEF("mono/project/auto_update_project", true)) { return; + } GDMonoAssembly *tools_project_editor_assembly = GDMono::get_singleton()->get_tools_project_editor_assembly(); -- cgit v1.2.3