mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
drop unnecessary defer
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user