mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Minor improvements based on 'go vet'
This commit is contained in:
parent
5f39a2900d
commit
0cfdd93502
@ -224,8 +224,6 @@ func (widget *Widget) responseIcon(calEvent *CalEvent) string {
|
||||
default:
|
||||
return icon + " "
|
||||
}
|
||||
|
||||
return " "
|
||||
}
|
||||
|
||||
func removeDeclined(events []*CalEvent) []*CalEvent {
|
||||
|
@ -115,7 +115,6 @@ func parseWlanNetsh(target string) string {
|
||||
switch token {
|
||||
case target:
|
||||
return words[i+1]
|
||||
i++
|
||||
}
|
||||
}
|
||||
return "N/A"
|
||||
|
Loading…
x
Reference in New Issue
Block a user