Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
This commit is contained in:
commit
d15cf7b672
55 changed files with 94 additions and 202 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue