From 606b80add7b9ccab6784f4b0aa17cddb2912601a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 25 Nov 2022 22:15:50 +0100 Subject: fix: fix linters warnings Signed-off-by: Valery Piashchynski --- cmd/rr/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd/rr/main.go') diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 023e6ccb..b065c9fe 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -16,9 +16,7 @@ var exitFn = os.Exit //nolint:gochecknoglobals func main() { exitFn(run()) } func init() { - _, _ = maxprocs.Set(maxprocs.Min(1), maxprocs.Logger(func(_ string, _ ...interface{}) { - return - })) + _, _ = maxprocs.Set(maxprocs.Min(1), maxprocs.Logger(func(_ string, _ ...any) {})) } // run this CLI application. -- cgit v1.2.3