Skip to content

Commit a204f92

Browse files
pks-tgitster
authored andcommitted
reftable/record: drop unused print function pointer
In 42c424d (t/helper: inline printing of reftable records, 2024-08-22) we stopped using the `print` function of the reftable record vtable and instead moved its implementation into the single user of it. We didn't remove the function itself from the vtable though. Drop it. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eb8728d commit a204f92

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

reftable/record.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ struct reftable_record_vtable {
7373
* the same type.
7474
*/
7575
int (*cmp)(const void *a, const void *b);
76-
77-
/* Print on stdout, for debugging. */
78-
void (*print)(const void *rec, int hash_size);
7976
};
8077

8178
/* returns true for recognized block types. Block start with the block type. */

0 commit comments

Comments
 (0)