Skip to content

Commit 9446f91

Browse files
Remove a few unused struct members.
Oversights in commits ab9e0e7, f3049a6, and 247ce06. Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://postgr.es/m/aScUuBSawPWogUxs%40ip-10-97-1-34.eu-west-3.compute.internal
1 parent 348020c commit 9446f91

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/backend/libpq/auth-scram.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ typedef struct
134134
{
135135
scram_state_enum state;
136136

137-
const char *username; /* username from startup packet */
138-
139137
Port *port;
140138
bool channel_binding_in_use;
141139

src/backend/storage/aio/method_worker.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
typedef struct PgAioWorkerSubmissionQueue
5656
{
5757
uint32 size;
58-
uint32 mask;
5958
uint32 head;
6059
uint32 tail;
6160
int sqes[FLEXIBLE_ARRAY_MEMBER];

src/backend/utils/sort/sharedtuplestore.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ struct SharedTuplestoreAccessor
8888
/* State for writing. */
8989
SharedTuplestoreChunk *write_chunk; /* Buffer for writing. */
9090
BufFile *write_file; /* The current file to write to. */
91-
BlockNumber write_page; /* The next page to write to. */
9291
char *write_pointer; /* Current write pointer within chunk. */
9392
char *write_end; /* One past the end of the current chunk. */
9493
};

0 commit comments

Comments
 (0)