Skip to content

Commit

Permalink
Get rid of a unused variable warning (-Wunused-but-set-variable)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitlan committed Dec 19, 2016
1 parent f138be3 commit baeba09
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/pg_btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ IndexSpoolInsert(BTSpool **spools, TupleTableSlot *slot, ItemPointer tupleid, ES
int numIndices;
RelationPtr indices;
IndexInfo **indexInfoArray;
Relation heapRelation;
ExprContext *econtext;

/*
Expand All @@ -302,7 +301,6 @@ IndexSpoolInsert(BTSpool **spools, TupleTableSlot *slot, ItemPointer tupleid, ES
numIndices = relinfo->ri_NumIndices;
indices = relinfo->ri_IndexRelationDescs;
indexInfoArray = relinfo->ri_IndexRelationInfo;
heapRelation = relinfo->ri_RelationDesc;

/*
* We will use the EState's per-tuple context for evaluating predicates
Expand Down

0 comments on commit baeba09

Please sign in to comment.