mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: avert if else is unnecessary
This commit is contained in:
@ -150,8 +150,7 @@ mut res := match fmt_date {
|
||||
.space{
|
||||
' '
|
||||
}
|
||||
else {
|
||||
'unknown enumeration $fmt_dlmtr'}})
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user