From f2b0aa5e8663ab669d7d554af09dfc447317bc83 Mon Sep 17 00:00:00 2001 From: Stefano Balzarotti Date: Thu, 1 May 2025 06:29:48 +0200 Subject: [PATCH] linter --- cpu/cpu_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu_windows.go b/cpu/cpu_windows.go index e32f6cb..f1e05b5 100644 --- a/cpu/cpu_windows.go +++ b/cpu/cpu_windows.go @@ -260,7 +260,7 @@ func getPhysicalCoreCount() (int, error) { return ncpus, nil } -func CountsWithContext(ctx context.Context, logical bool) (int, error) { +func CountsWithContext(_ context.Context, logical bool) (int, error) { if logical { // Get logical processor count https://github.com/giampaolo/psutil/blob/d01a9eaa35a8aadf6c519839e987a49d8be2d891/psutil/_psutil_windows.c#L97 ret := windows.GetActiveProcessorCount(windows.ALL_PROCESSOR_GROUPS)