cleanup: Mark unused arguments as unused
This will stop eslint from warning about them, while keeping their self-documenting benefit. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
@ -154,7 +154,7 @@ var ShellMountOperation = class {
|
||||
this._dialog.open();
|
||||
}
|
||||
|
||||
close(op) {
|
||||
close(_op) {
|
||||
this._closeExistingDialog();
|
||||
this._processesDialog = null;
|
||||
|
||||
@ -753,7 +753,7 @@ var GnomeShellMountOpHandler = class {
|
||||
* Closes a dialog previously opened by AskPassword, AskQuestion or ShowProcesses.
|
||||
* If no dialog is open, does nothing.
|
||||
*/
|
||||
Close(params, invocation) {
|
||||
Close(_params, _invocation) {
|
||||
this._clearCurrentRequest(Gio.MountOperationResult.UNHANDLED, {});
|
||||
this._closeDialog();
|
||||
}
|
||||
|
Reference in New Issue
Block a user