10000 amcheck: Remove unused IndexCheckableCallback typedef. · sthagen/postgres-postgres@d64d68f · GitHub
[go: up one dir, main page]

Skip to content

Commit d64d68f

Browse files
committed
amcheck: Remove unused IndexCheckableCallback typedef.
Commit d70b176 introduced the IndexCheckableCallback typedef for a callback function, but it was never used. This commit removes the unused typedef to clean up dead code. Author: Fujii Masao <masao.fujii@gmail.com> Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru> Discussion: https://postgr.es/m/e1ea4e14-3b21-4e01-a5f2-0686883265df@oss.nttdata.com
1 parent 5a6c39b commit d64d68f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/amcheck/verify_common.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
#include "utils/relcache.h"
1717
#include "miscadmin.h"
1818

19-
/* Typedefs for callback functions for amcheck_lock_relation_and_check */
20-
typedef void (*IndexCheckableCallback) (Relation index);
19+
/* Typedef for callback function for amcheck_lock_relation_and_check */
2120
typedef void (*IndexDoCheckCallback) (Relation rel,
2221
Relation heaprel,
2322
void *state,

0 commit comments

Comments
 (0)
0