mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-06 00:56:39 +00:00
Fix Windows lint: handle close error and exclude vendored WFP types from unused
This commit is contained in:
@@ -66,7 +66,7 @@ func installFilters(cfg installConfig) (session uintptr, err error) {
|
||||
|
||||
base, err := registerBaseObjects(session)
|
||||
if err != nil {
|
||||
fwpmEngineClose0(session)
|
||||
_ = fwpmEngineClose0(session)
|
||||
return 0, fmt.Errorf("register base objects: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user