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

Commitadb5c32

Browse files
committed
Suppress uninitialized-variable warning froma61b1f7.
Some compilers complain about sub_rteperminfos not beinginitialized, evidently because they don't detect that itis only used and set if isGeneralSelect is true.Make it follow the long-established pattern for itssibling variable sub_rtable.Per reports from Pavel Stehule and the buildfarm.Discussion:https://postgr.es/m/CAFj8pRDOvGOi-n616kM0Cc7qSbg_nGoS=-haB+D785sUXADqSg@mail.gmail.com
1 parent197f98a commitadb5c32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/parser/analyze.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt)
615615
else
616616
{
617617
sub_rtable=NIL;/* not used, but keep compiler quiet */
618+
sub_rteperminfos=NIL;
618619
sub_namespace=NIL;
619620
}
620621

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp