sync: improve compatibility with -Wimpure-v
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
|
// we should not get here but the V compiler want's to see a return statement
|
||||||
assert false
|
panic('unknown `try_push_priv` state')
|
||||||
return .success
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[inline]
|
[inline]
|
||||||
|
|
Loading…
Reference in New Issue