From 743b1b52e57ecab15ba716eec8a01dd022689dd6 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 25 Jul 2019 18:27:45 +0300 Subject: [PATCH] Remove unused #defines --- src/include/nodes/bitmapset.h | 1 - src/include/nodes/pg_list.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/include/nodes/bitmapset.h b/src/include/nodes/bitmapset.h index c1d0fb641f..a6192135cc 100644 --- a/src/include/nodes/bitmapset.h +++ b/src/include/nodes/bitmapset.h @@ -28,7 +28,6 @@ #define BITS_PER_BITMAPWORD 32 typedef uint32 bitmapword; /* must be an unsigned type */ typedef int32 signedbitmapword; /* must be the matching signed type */ -#define BITS_PER_BITMAPWORD_LOG2 5 typedef struct Bitmapset { diff --git a/src/include/nodes/pg_list.h b/src/include/nodes/pg_list.h index c306d48bf0..acf643c85b 100644 --- a/src/include/nodes/pg_list.h +++ b/src/include/nodes/pg_list.h @@ -130,11 +130,6 @@ list_length(const List *l) #define lfourth_oid(l) lfirst_oid(lnext(lnext(lnext(list_head(l))))) #define lfourth_node(type,l) castNode(type, lfourth(l)) -#define lfifth(l) lfirst(lnext(lnext(lnext(lnext(list_head(l)))))) -#define lfifth_int(l) lfirst_int(lnext(lnext(lnext(lnext(list_head(l)))))) -#define lfifth_oid(l) lfirst_oid(lnext(lnext(lnext(lnext(list_head(l)))))) -#define lcfifth(l) lnext(lnext(lnext(lnext(list_head(l))))) - #define llast(l) lfirst(list_tail(l)) #define llast_int(l) lfirst_int(list_tail(l)) #define llast_oid(l) lfirst_oid(list_tail(l)) -- GitLab