Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
This commit is contained in:
@ -965,8 +965,6 @@ void ProjectSettingsEditor::_action_add() {
|
||||
while (r->get_next())
|
||||
r = r->get_next();
|
||||
|
||||
if (!r)
|
||||
return;
|
||||
r->select(0);
|
||||
input_editor->ensure_cursor_is_visible();
|
||||
action_add_error->hide();
|
||||
|
||||
Reference in New Issue
Block a user