Skip to content

Commit 4006455

Browse files
committed
tests: blob: remove unused callback function
1 parent 73dab76 commit 4006455

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/object/blob/fromstream.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ void test_object_blob_fromstream__cleanup(void)
1717
cl_git_sandbox_cleanup();
1818
}
1919

20-
static int text_chunked_source_cb(char *content, size_t max_length, void *payload)
21-
{
22-
int *count;
23-
24-
GIT_UNUSED(max_length);
25-
26-
count = (int *)payload;
27-
(*count)--;
28-
29-
if (*count == 0)
30-
return 0;
31-
32-
strcpy(content, textual_content);
33-
return (int)strlen(textual_content);
34-
}
35-
3620
void test_object_blob_fromstream__multiple_write(void)
3721
{
3822
git_oid expected_id, id;

0 commit comments

Comments
 (0)