Skip to content

Commit fba60e5

Browse files
committed
Remove set-but-not-used variables.
Reported by both Peter Eisentraunt and Kevin Grittner.
1 parent ad9fad7 commit fba60e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/backend/executor/tqueue.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ tqueueReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
121121
TQueueDestReceiver *tqueue = (TQueueDestReceiver *) self;
122122
TupleDesc tupledesc = slot->tts_tupleDescriptor;
123123
HeapTuple tuple;
124-
HeapTupleHeader tup;
125124

126125
/*
127126
* Test to see whether the tupledesc has changed; if so, set up for the
@@ -140,7 +139,6 @@ tqueueReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
140139
}
141140

142141
tuple = ExecMaterializeSlot(slot);
143-
tup = tuple->t_data;
144142

145143
/*
146144
* When, because of the types being transmitted, no record typemod mapping
@@ -609,7 +607,6 @@ TupleQueueRemapTuple(TupleQueueReader *reader, TupleDesc tupledesc,
609607
{
610608
Datum *values;
611609
bool *isnull;
612-
bool dirty = false;
613610
int i;
614611

615612
/*
@@ -631,7 +628,6 @@ TupleQueueRemapTuple(TupleQueueReader *reader, TupleDesc tupledesc,
631628
if (isnull[i] || remapinfo->mapping[i] == TQUEUE_REMAP_NONE)
632629
continue;
633630
values[i] = TupleQueueRemap(reader, remapinfo->mapping[i], values[i]);
634-
dirty = true;
635631
}
636632

637633
/* Reform the modified tuple. */

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