Content-Length: 267554 | pFad | http://github.com/postgrespro/postgres/commit/01add89454d5dc289ed3126d5de03169bdeff41b

9F Suppress uninitialized-variable warning. · postgrespro/postgres@01add89 · GitHub
Skip to content

Commit 01add89

Browse files
committed
Suppress uninitialized-variable warning.
Several buildfarm critters that don't usually produce such warnings are complaining about e717a9a. I think it's actually safe, but move initialization to silence the warning.
1 parent 0f61727 commit 01add89

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/01add89454d5dc289ed3126d5de03169bdeff41b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy