From cbf2d3cdc4878ee90b2153e56e583bbc06ceb803 Mon Sep 17 00:00:00 2001 From: Ibrahn Sahir Date: Fri, 17 May 2019 15:37:42 +0100 Subject: [PATCH] Removed an unused and leaked CheckButton instance in theme editor plugin --- editor/plugins/theme_editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 80e2e99685a..85743c96d64 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -683,7 +683,6 @@ ThemeEditor::ThemeEditor() { CheckButton *cb = memnew(CheckButton); cb->set_text("CheckButton"); first_vb->add_child(cb); - cb = memnew(CheckButton); CheckBox *cbx = memnew(CheckBox); cbx->set_text("CheckBox"); first_vb->add_child(cbx);