Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
68827a7a
Commit
68827a7a
authored
16 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Suppress an uninitialized-variable warning (not all versions of gcc
complain here, but some do)
parent
f06ef2be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/storage/freespace/freespace.c
+2
-5
2 additions, 5 deletions
src/backend/storage/freespace/freespace.c
with
2 additions
and
5 deletions
src/backend/storage/freespace/freespace.c
+
2
−
5
View file @
68827a7a
...
@@ -8,7 +8,7 @@
...
@@ -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.6
3
2008/10/01
08:12:14 heikki
Exp $
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.6
4
2008/10/01
14:59:23 tgl
Exp $
*
*
*
*
* NOTES:
* NOTES:
...
@@ -612,7 +612,7 @@ fsm_search(Relation rel, uint8 min_cat)
...
@@ -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)
...
@@ -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
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment