mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: require explicit return none (#8060)
This commit is contained in:
@ -89,6 +89,7 @@ pub fn (c TcpConn) read_ptr(buf_ptr byteptr, len int) ?int {
|
||||
} else {
|
||||
wrap_error(code) ?
|
||||
}
|
||||
return none
|
||||
}
|
||||
|
||||
pub fn (c TcpConn) read(mut buf []byte) ?int {
|
||||
|
Reference in New Issue
Block a user