builtin: fix an unused var warning on windows
parent
669a4ea1be
commit
49a2de562b
|
@ -267,6 +267,7 @@ fn break_if_debugger_attached() {
|
||||||
unsafe {
|
unsafe {
|
||||||
mut ptr := &voidptr(0)
|
mut ptr := &voidptr(0)
|
||||||
*ptr = voidptr(0)
|
*ptr = voidptr(0)
|
||||||
|
_ = ptr
|
||||||
}
|
}
|
||||||
} $else {
|
} $else {
|
||||||
if C.IsDebuggerPresent() {
|
if C.IsDebuggerPresent() {
|
||||||
|
|
Loading…
Reference in New Issue