Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fba60e5

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎src/backend/executor/tqueue.c

Copy file name to clipboardExpand all lines: src/backend/executor/tqueue.c
-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.