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

Commitedbe2a2

Browse files
committed
Attempt to fix compiler warning.
Per a report from Tom Lane, newer versions of gcc apparently thinkthat partexprs_item_saved can be used uninitialized. Try to convincethem otherwise.
1 parent93ece9c commitedbe2a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/catalog/partition.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,6 +1558,7 @@ get_qual_for_range(PartitionKey key, PartitionBoundSpec *spec)
15581558
*/
15591559
i=0;
15601560
partexprs_item=list_head(key->partexprs);
1561+
partexprs_item_saved=partexprs_item;/* placate compiler */
15611562
forboth(cell1,spec->lowerdatums,cell2,spec->upperdatums)
15621563
{
15631564
EState*estate;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp