mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-09 17:49:27 +00:00
No point in keeping commented out fn
This commit is contained in:
parent
a0d959628f
commit
e3557172af
@ -98,15 +98,6 @@ void git_buf_clear(git_buf *buf)
|
|||||||
buf->ptr[0] = '\0';
|
buf->ptr[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Moved to inline function:
|
|
||||||
|
|
||||||
bool git_buf_oom(const git_buf *buf)
|
|
||||||
{
|
|
||||||
return (buf->ptr == git_buf__oom);
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
int git_buf_set(git_buf *buf, const char *data, size_t len)
|
int git_buf_set(git_buf *buf, const char *data, size_t len)
|
||||||
{
|
{
|
||||||
if (len == 0 || data == NULL) {
|
if (len == 0 || data == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user