Fix problems found with ineffassign

This commit is contained in:
Nick Craig-Wood
2017-06-13 11:52:36 +01:00
parent 28fcc53e45
commit 740b3f6ae2
9 changed files with 19 additions and 16 deletions
-1
View File
@@ -472,7 +472,6 @@ func loadConfigFile() (*goconfig.ConfigFile, error) {
err := setConfigPassword(envpw)
if err != nil {
fmt.Println("Using RCLONE_CONFIG_PASS returned:", err)
envpw = ""
} else {
Debugf(nil, "Using RCLONE_CONFIG_PASS password.")
}