mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
net.openssl: correctly assign nil to reference values after the recent notice about it (#19981)
This commit is contained in:
parent
eeb8d27c6d
commit
be544d73f3
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ pub fn new_ssl_conn(config SSLConnectConfig) !&SSLConn {
|
|||
}
|
||||
mut conn := &SSLConn{
|
||||
config: config
|
||||
sslctx: 0
|
||||
ssl: 0
|
||||
sslctx: unsafe { nil }
|
||||
ssl: unsafe { nil }
|
||||
handle: 0
|
||||
}
|
||||
conn.init() or { return err }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue