1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: fix an unused var warning on windows

This commit is contained in:
Alexander Medvednikov 2021-04-23 15:17:02 +03:00
parent 669a4ea1be
commit 49a2de562b

View File

@ -267,6 +267,7 @@ fn break_if_debugger_attached() {
unsafe {
mut ptr := &voidptr(0)
*ptr = voidptr(0)
_ = ptr
}
} $else {
if C.IsDebuggerPresent() {