fix(windows): make staticcheck happy

This commit is contained in:
Cuong Manh Le
2026-03-03 15:11:29 +07:00
committed by Cuong Manh Le
parent 9b2e51f53a
commit 9be15aeec8
2 changed files with 0 additions and 37 deletions
-2
View File
@@ -14,9 +14,7 @@ import (
)
var (
kernel32 = windows.NewLazySystemDLL("kernel32.dll")
wtsapi32 = windows.NewLazySystemDLL("wtsapi32.dll")
procGetConsoleWindow = kernel32.NewProc("GetConsoleWindow")
procWTSGetActiveConsoleSessionId = wtsapi32.NewProc("WTSGetActiveConsoleSessionId")
procWTSQuerySessionInformation = wtsapi32.NewProc("WTSQuerySessionInformationW")
procWTSFreeMemory = wtsapi32.NewProc("WTSFreeMemory")