mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
Suppress an uninitialized-variable warning (not all versions of gcc
complain here, but some do)
This commit is contained in:
parent
f06ef2bede
commit
68827a7ada
@ -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/storage/freespace/freespace.c,v 1.63 2008/10/01 08:12:14 heikki Exp $
|
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.64 2008/10/01 14:59:23 tgl Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* NOTES:
|
* NOTES:
|
||||||
@ -612,7 +612,7 @@ fsm_search(Relation rel, uint8 min_cat)
|
|||||||
{
|
{
|
||||||
int slot;
|
int slot;
|
||||||
Buffer buf;
|
Buffer buf;
|
||||||
uint8 max_avail;
|
uint8 max_avail = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the FSM page. The root page is created if it doesn't exist
|
* 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)
|
|||||||
UnlockReleaseBuffer(buf);
|
UnlockReleaseBuffer(buf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
slot = -1;
|
slot = -1;
|
||||||
max_avail = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (slot != -1)
|
if (slot != -1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user