]> git.ipfire.org Git - thirdparty/git.git/commitdiff
reftable/record: drop unused `print` function pointer
authorPatrick Steinhardt <ps@pks.im>
Mon, 20 Jan 2025 16:17:20 +0000 (17:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2025 22:20:28 +0000 (14:20 -0800)
In 42c424d69d (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 <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/record.h

index 25aa908c859ca2fdf8502fbee9d6421601af70c9..a24cb23bd4ff52b7f3ce38443ad53cdb15f98a56 100644 (file)
@@ -73,9 +73,6 @@ struct reftable_record_vtable {
         * the same type.
         */
        int (*cmp)(const void *a, const void *b);
-
-       /* Print on stdout, for debugging. */
-       void (*print)(const void *rec, int hash_size);
 };
 
 /* returns true for recognized block types. Block start with the block type. */