chore(lint): ignore unused properties

This commit is contained in:
Jan De Dobbeleer 2022-05-10 07:39:07 +02:00 committed by Jan De Dobbeleer
parent e392ab667d
commit ef5bb488c8

View file

@ -487,7 +487,7 @@ func (env *ShellEnvironment) parseNetworkInterface(network *WLAN_INTERFACE_INFO,
type WLAN_INTERFACE_INFO_LIST struct { // nolint: revive
dwNumberOfItems uint32
dwIndex uint32
dwIndex uint32 // nolint: unused
InterfaceInfo [1]WLAN_INTERFACE_INFO
}
@ -498,9 +498,9 @@ type WLAN_INTERFACE_INFO struct { // nolint: revive
}
type WLAN_CONNECTION_ATTRIBUTES struct { // nolint: revive
isState uint32
wlanConnectionMode uint32
strProfileName [256]uint16
isState uint32 // nolint: unused
wlanConnectionMode uint32 // nolint: unused
strProfileName [256]uint16 // nolint: unused
wlanAssociationAttributes WLAN_ASSOCIATION_ATTRIBUTES
wlanSecurityAttributes WLAN_SECURITY_ATTRIBUTES
}
@ -508,9 +508,9 @@ type WLAN_CONNECTION_ATTRIBUTES struct { // nolint: revive
type WLAN_ASSOCIATION_ATTRIBUTES struct { // nolint: revive
dot11Ssid DOT11_SSID
dot11BssType uint32
dot11Bssid [6]uint8
dot11Bssid [6]uint8 // nolint: unused
dot11PhyType uint32
uDot11PhyIndex uint32
uDot11PhyIndex uint32 // nolint: unused
wlanSignalQuality uint32
ulRxRate uint32
ulTxRate uint32
@ -518,7 +518,7 @@ type WLAN_ASSOCIATION_ATTRIBUTES struct { // nolint: revive
type WLAN_SECURITY_ATTRIBUTES struct { // nolint: revive
bSecurityEnabled uint32
bOneXEnabled uint32
bOneXEnabled uint32 // nolint: unused
dot11AuthAlgorithm uint32
dot11CipherAlgorithm uint32
}