Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-05-18 01:44:17 +0400
committerRussell Belfer <rb@github.com>2012-05-18 01:44:17 +0400
commite3557172aff5814e32e58bceb015465dcbe9e5f3 (patch)
treeeab1b7265b1c88b0e72b058fc54005b4ff017ac3 /src/buffer.c
parenta0d959628f2a9eff65088c3247f237aef5205e73 (diff)
No point in keeping commented out fn
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) {