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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy