fix: resolve some lgtm warnings (#1444)

* fix: warnings found by LGTM static analyzer
This commit is contained in:
Charles Kerr
2020-09-11 16:07:45 -05:00
committed by GitHub
parent d3323ddee0
commit efaa66a920
29 changed files with 213 additions and 222 deletions

View File

@@ -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