build: remove x := x made unnecessary by the new semantics of loops in go1.22
Signed-off-by: russcoss <russcoss@outlook.com>
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
func init() {
|
||||
for _, name := range []string{"sync", "copy", "move"} {
|
||||
name := name
|
||||
moveHelp := ""
|
||||
if name == "move" {
|
||||
moveHelp = "- deleteEmptySrcDirs - delete empty src directories if set\n"
|
||||
|
||||
Reference in New Issue
Block a user