Browse Source

Placate -vet.

Jeroen van Rijn 4 years ago
parent
commit
aca5c7c1c6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/sys/windows/util.odin

+ 0 - 2
core/sys/windows/util.odin

@@ -1,7 +1,6 @@
 package sys_windows
 package sys_windows
 
 
 import "core:strings"
 import "core:strings"
-import "core:runtime"
 import "core:sys/win32"
 import "core:sys/win32"
 
 
 LOWORD :: #force_inline proc "contextless" (x: DWORD) -> WORD {
 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);
 	defer win32.local_free(sb);
 
 
 	pszProfilePath := make([]u16, 257, context.temp_allocator);
 	pszProfilePath := make([]u16, 257, context.temp_allocator);
-	cchProfilePath: DWORD;
 	res2 := CreateProfile(
 	res2 := CreateProfile(
 		sb,
 		sb,
 		&username_w[0],
 		&username_w[0],