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

Commit68827a7

Browse files
committed
Suppress an uninitialized-variable warning (not all versions of gcc
complain here, but some do)
1 parentf06ef2b commit68827a7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎src/backend/storage/freespace/freespace.c

Lines changed: 2 additions & 5 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/storage/freespace/freespace.c,v 1.63 2008/10/0108:12:14 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.64 2008/10/0114:59:23 tgl Exp $
1212
*
1313
*
1414
* NOTES:
@@ -612,7 +612,7 @@ fsm_search(Relation rel, uint8 min_cat)
612612
{
613613
intslot;
614614
Bufferbuf;
615-
uint8max_avail;
615+
uint8max_avail=0;
616616

617617
/*
618618
* Read the FSM page. The root page is created if it doesn't exist
@@ -634,10 +634,7 @@ fsm_search(Relation rel, uint8 min_cat)
634634
UnlockReleaseBuffer(buf);
635635
}
636636
else
637-
{
638637
slot=-1;
639-
max_avail=0;
640-
}
641638

642639
if (slot!=-1)
643640
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp