mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: fix missing else{}
in match statements
This commit is contained in:
@ -74,7 +74,7 @@ fn jsdecode_f32(root &C.cJSON) f32 {
|
||||
if isnil(root) {
|
||||
return f32(0)
|
||||
}
|
||||
return f32(root.valuedouble)
|
||||
return root.valuedouble
|
||||
}
|
||||
|
||||
fn jsdecode_f64(root &C.cJSON) f64 {
|
||||
|
Reference in New Issue
Block a user