From aca5c7c1c6b984a5523b7bb85765e13ea662b41a Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Tue, 13 Apr 2021 02:18:47 +0200 Subject: [PATCH] Placate -vet. --- core/sys/windows/util.odin | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/sys/windows/util.odin b/core/sys/windows/util.odin index c53657e63..5248cfdbf 100644 --- a/core/sys/windows/util.odin +++ b/core/sys/windows/util.odin @@ -1,7 +1,6 @@ package sys_windows import "core:strings" -import "core:runtime" import "core:sys/win32" LOWORD :: #force_inline proc "contextless" (x: DWORD) -> WORD { @@ -297,7 +296,6 @@ add_user_profile :: proc(username: string) -> (ok: bool, profile_path: string) { defer win32.local_free(sb); pszProfilePath := make([]u16, 257, context.temp_allocator); - cchProfilePath: DWORD; res2 := CreateProfile( sb, &username_w[0],