diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-08-09 10:09:23 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2016-08-09 10:09:23 +0200 |
commit | 4006455f01f22ccbdab99958d76166a3911632d0 (patch) | |
tree | 92d2d3ae84d685e81073deb5ff75ecc4018483cb /tests/object | |
parent | 73dab7692e780e1df96093a54854795428eb66b4 (diff) | |
download | libgit2-4006455f01f22ccbdab99958d76166a3911632d0.tar.gz |
tests: blob: remove unused callback function
Diffstat (limited to 'tests/object')
-rw-r--r-- | tests/object/blob/fromstream.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/object/blob/fromstream.c b/tests/object/blob/fromstream.c index fb6b0784c..d23149bd1 100644 --- a/tests/object/blob/fromstream.c +++ b/tests/object/blob/fromstream.c @@ -17,22 +17,6 @@ void test_object_blob_fromstream__cleanup(void) cl_git_sandbox_cleanup(); } -static int text_chunked_source_cb(char *content, size_t max_length, void *payload) -{ - int *count; - - GIT_UNUSED(max_length); - - count = (int *)payload; - (*count)--; - - if (*count == 0) - return 0; - - strcpy(content, textual_content); - return (int)strlen(textual_content); -} - void test_object_blob_fromstream__multiple_write(void) { git_oid expected_id, id; |