mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
fix: resolve some lgtm warnings (#1444)
* fix: warnings found by LGTM static analyzer
This commit is contained in:
@@ -149,7 +149,6 @@ TransmissionRemote.prototype = {
|
||||
},
|
||||
|
||||
getFreeSpace: function (dir, callback, context) {
|
||||
var remote = this;
|
||||
var o = {
|
||||
method: 'free-space',
|
||||
arguments: {
|
||||
@@ -201,7 +200,6 @@ TransmissionRemote.prototype = {
|
||||
},
|
||||
|
||||
moveTorrents: function (torrent_ids, new_location, callback, context) {
|
||||
var remote = this;
|
||||
this.sendTorrentSetRequests('torrent-set-location', torrent_ids, {
|
||||
"move": true,
|
||||
"location": new_location
|
||||
|
||||
Reference in New Issue
Block a user