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

parser: add unused variable warning

This commit is contained in:
Kris Cherven
2020-04-21 19:52:56 -04:00
committed by GitHub
parent 08fac28c52
commit 155891a4e0
24 changed files with 104 additions and 33 deletions

View File

@@ -92,7 +92,8 @@ $if msvc {
handle := C.GetCurrentProcess()
defer { C.SymCleanup(handle) }
options := C.SymSetOptions(SYMOPT_DEBUG | SYMOPT_LOAD_LINES | SYMOPT_UNDNAME)
C.SymSetOptions(SYMOPT_DEBUG | SYMOPT_LOAD_LINES | SYMOPT_UNDNAME)
syminitok := C.SymInitialize( handle, 0, 1)
if syminitok != 1 {
println('Failed getting process: Aborting backtrace.\n')