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

Commit01add89

Browse files
committed
Suppress uninitialized-variable warning.
Several buildfarm critters that don't usually produce suchwarnings are complaining aboute717a9a. I think it'sactually safe, but move initialization to silence the warning.
1 parent0f61727 commit01add89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/catalog/pg_proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ fmgr_sql_validator(PG_FUNCTION_ARGS)
916916
* least catch silly syntactic errors.
917917
*/
918918
raw_parsetree_list=pg_parse_query(prosrc);
919+
querytree_list=NIL;
919920

920921
if (!haspolyarg)
921922
{
@@ -928,7 +929,6 @@ fmgr_sql_validator(PG_FUNCTION_ARGS)
928929
/* But first, set up parameter information */
929930
pinfo=prepare_sql_fn_parse_info(tuple,NULL,InvalidOid);
930931

931-
querytree_list=NIL;
932932
foreach(lc,raw_parsetree_list)
933933
{
934934
RawStmt*parsetree=lfirst_node(RawStmt,lc);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp