drop unnecessary defer
This commit is contained in:
1 parent
271782d2f4
commit
1a6bb59125
1 file changed
+1
-1
@@ -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))
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user