mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 05:40:34 +00:00
refactor(shada): use msgpack_sbuffer less
Work towards getting rid of libmsgpack depedency eventually. msgpack_sbuffer is just a string buffer, we can use our own String type.
This commit is contained in:
@@ -548,10 +548,6 @@ String buf_get_text(buf_T *buf, int64_t lnum, int64_t start_col, int64_t end_col
|
||||
|
||||
void api_free_string(String value)
|
||||
{
|
||||
if (!value.data) {
|
||||
return;
|
||||
}
|
||||
|
||||
xfree(value.data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user