summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c
index f28aa216b..783a36eb8 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -98,15 +98,6 @@ void git_buf_clear(git_buf *buf)
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)
{
if (len == 0 || data == NULL) {