From 9bbe51dc279e1203962bdf0b3266c9b14307638c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 5 Apr 2021 14:02:50 +0200 Subject: Style: Apply clang-tidy's `modernize-use-nullptr` --- editor/editor_inspector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editor/editor_inspector.cpp') diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 236e0f1abb..738b2f9f82 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -2570,9 +2570,9 @@ void EditorInspector::_update_script_class_properties(const Object &p_object, Li } // Script Variables -> to insert: NodeC..B..A -> bottom (insert_here) - List::Element *script_variables = NULL; - List::Element *bottom = NULL; - List::Element *insert_here = NULL; + List::Element *script_variables = nullptr; + List::Element *bottom = nullptr; + List::Element *insert_here = nullptr; for (List::Element *E = r_list.front(); E; E = E->next()) { PropertyInfo &pi = E->get(); if (pi.name != "Script Variables") { -- cgit v1.2.3