From 6ff0ce15e76019c28707a416f60852110b16d4fc Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Tue, 27 Jun 2023 21:42:20 +0300 Subject: [PATCH] cleanup: remove leftover line --- core/os/os_linux.odin | 1 - 1 file changed, 1 deletion(-) diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin index aaff01165..a2c07d98e 100644 --- a/core/os/os_linux.odin +++ b/core/os/os_linux.odin @@ -894,7 +894,6 @@ get_env :: proc(key: string, allocator := context.allocator) -> (value: string) set_env :: proc(key, value: string) -> Errno { runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD() - s := strings.concatenate({key, "=", value, "\x00"}, context.temp_allocator) key_cstring := strings.unsafe_string_to_cstring(strings.concatenate({key, "\x00"}, context.temp_allocator)) value_cstring := strings.unsafe_string_to_cstring(strings.concatenate({value, "\x00"}, context.temp_allocator)) // NOTE(GoNZooo): `setenv` instead of `putenv` because it copies both key and value more commonly