mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
cleanup: Avoid useless return statements
Return statements are only useful if they return a value or break the regular function flow (i.e. early returns). Remove all returns that do neither. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
parent
81ab2865f7
commit
a77377efe7
5 changed files with 0 additions and 7 deletions
|
|
@ -202,7 +202,6 @@ var ConsecutiveBatch = class extends Batch {
|
|||
hold.disconnect(signalId);
|
||||
this.nextTask();
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
// This task finished, process the next one
|
||||
this.nextTask();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue