Commit 4006455f by Patrick Steinhardt

tests: blob: remove unused callback function

parent 73dab769
...@@ -17,22 +17,6 @@ void test_object_blob_fromstream__cleanup(void) ...@@ -17,22 +17,6 @@ void test_object_blob_fromstream__cleanup(void)
cl_git_sandbox_cleanup(); 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) void test_object_blob_fromstream__multiple_write(void)
{ {
git_oid expected_id, id; git_oid expected_id, id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment