mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 00:01:54 -04:00
Suppress some gcc warnings.
This commit is contained in:
parent
2610a1fd5e
commit
67030eec1e
@ -8,7 +8,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.1 2006/05/02 11:28:54 teodor Exp $
|
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.2 2006/05/02 15:48:11 tgl Exp $
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ entryIsMoveRight(GinBtree btree, Page page) {
|
|||||||
static BlockNumber
|
static BlockNumber
|
||||||
entryLocateEntry(GinBtree btree, GinBtreeStack *stack) {
|
entryLocateEntry(GinBtree btree, GinBtreeStack *stack) {
|
||||||
OffsetNumber low, high, maxoff;
|
OffsetNumber low, high, maxoff;
|
||||||
IndexTuple itup;
|
IndexTuple itup = NULL;
|
||||||
int result;
|
int result;
|
||||||
Page page = BufferGetPage( stack->buffer );
|
Page page = BufferGetPage( stack->buffer );
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.1 2006/05/02 11:28:54 teodor Exp $
|
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.2 2006/05/02 15:48:11 tgl Exp $
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -66,6 +66,8 @@ fillScanKey( GinState *ginstate, GinScanKey key, Datum query,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NOT_USED
|
||||||
|
|
||||||
static void
|
static void
|
||||||
resetScanKeys(GinScanKey keys, uint32 nkeys) {
|
resetScanKeys(GinScanKey keys, uint32 nkeys) {
|
||||||
uint32 i, j;
|
uint32 i, j;
|
||||||
@ -92,6 +94,8 @@ resetScanKeys(GinScanKey keys, uint32 nkeys) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
freeScanKeys(GinScanKey keys, uint32 nkeys, bool removeRes) {
|
freeScanKeys(GinScanKey keys, uint32 nkeys, bool removeRes) {
|
||||||
uint32 i, j;
|
uint32 i, j;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user