mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: wrap up unsafe { nil } (p. 3)
This commit is contained in:
@ -267,7 +267,7 @@ fn break_if_debugger_attached() {
|
||||
$if tinyc {
|
||||
unsafe {
|
||||
mut ptr := &voidptr(0)
|
||||
*ptr = voidptr(0)
|
||||
*ptr = nil
|
||||
_ = ptr
|
||||
}
|
||||
} $else {
|
||||
|
Reference in New Issue
Block a user