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