1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make "unreachable code" a warning in non-prod builds

This commit is contained in:
Alexander Medvednikov
2020-02-21 18:55:18 +01:00
parent 1d90c1cbbf
commit e0c6766a79
2 changed files with 1 additions and 2 deletions

View File

@@ -76,6 +76,5 @@ fn get_user() ?User {
fn get_user_ptr() &User {
return &User{
}
}