drop unnecessary defer

This commit is contained in:
Justin Snyder
2024-06-19 18:25:42 -06:00
committed by GitHub
parent 271782d2f4
commit 1a6bb59125
+1 -1
View File
@@ -296,7 +296,7 @@ Returns:
*/ */
to_cstring :: proc(b: ^Builder) -> (res: cstring) { to_cstring :: proc(b: ^Builder) -> (res: cstring) {
append(&b.buf, 0) append(&b.buf, 0)
defer pop(&b.buf) pop(&b.buf)
return cstring(raw_data(b.buf)) return cstring(raw_data(b.buf))
} }
/* /*