mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sync: improve compatibility with -Wimpure-v
This commit is contained in:
parent
47aa2b1f93
commit
79cb303a6c
@ -415,8 +415,7 @@ fn (mut ch Channel) try_push_priv(src voidptr, no_block bool) ChanState {
|
||||
}
|
||||
}
|
||||
// we should not get here but the V compiler want's to see a return statement
|
||||
assert false
|
||||
return .success
|
||||
panic('unknown `try_push_priv` state')
|
||||
}
|
||||
|
||||
[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user