mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
build: fix linting issues reported by golangci-lint on windows
This commit is contained in:
@@ -13,7 +13,7 @@ func HideConsole() {
|
||||
if getConsoleWindow.Find() == nil && showWindow.Find() == nil {
|
||||
hwnd, _, _ := getConsoleWindow.Call()
|
||||
if hwnd != 0 {
|
||||
showWindow.Call(hwnd, 0)
|
||||
_, _, _ = showWindow.Call(hwnd, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user