From 1a6bb5912559588a7823a363e279686b146f33fb Mon Sep 17 00:00:00 2001 From: Justin Snyder Date: Wed, 19 Jun 2024 18:25:42 -0600 Subject: [PATCH] drop unnecessary defer --- core/strings/builder.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/strings/builder.odin b/core/strings/builder.odin index 195eab56f..3c5bc5793 100644 --- a/core/strings/builder.odin +++ b/core/strings/builder.odin @@ -296,7 +296,7 @@ Returns: */ to_cstring :: proc(b: ^Builder) -> (res: cstring) { append(&b.buf, 0) - defer pop(&b.buf) + pop(&b.buf) return cstring(raw_data(b.buf)) } /*