Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit67030ee

Browse files
committed
Suppress some gcc warnings.
1 parent2610a1f commit67030ee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎src/backend/access/gin/ginentrypage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.1 2006/05/0211:28:54 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.2 2006/05/0215:48:11 tgl Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -116,7 +116,7 @@ entryIsMoveRight(GinBtree btree, Page page) {
116116
staticBlockNumber
117117
entryLocateEntry(GinBtreebtree,GinBtreeStack*stack) {
118118
OffsetNumberlow,high,maxoff;
119-
IndexTupleitup;
119+
IndexTupleitup=NULL;
120120
intresult;
121121
Pagepage=BufferGetPage(stack->buffer );
122122

‎src/backend/access/gin/ginscan.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.1 2006/05/0211:28:54 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.2 2006/05/0215:48:11 tgl Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -66,6 +66,8 @@ fillScanKey( GinState *ginstate, GinScanKey key, Datum query,
6666
}
6767
}
6868

69+
#ifdefNOT_USED
70+
6971
staticvoid
7072
resetScanKeys(GinScanKeykeys,uint32nkeys) {
7173
uint32i,j;
@@ -92,6 +94,8 @@ resetScanKeys(GinScanKey keys, uint32 nkeys) {
9294
}
9395
}
9496

97+
#endif
98+
9599
staticvoid
96100
freeScanKeys(GinScanKeykeys,uint32nkeys,boolremoveRes) {
97101
uint32i,j;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp