1
0
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:
Enzo Baldisserri
2020-04-25 21:51:44 +02:00
committed by GitHub
parent e0f9c042c1
commit 3e68e429b6
8 changed files with 96 additions and 58 deletions

View File

@ -150,8 +150,7 @@ mut res := match fmt_date {
.space{
' '
}
else {
'unknown enumeration $fmt_dlmtr'}})
})
return res
}