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

Commit096a30b

Browse files
committed
Fix some more 'variable may be used uninitialized' warnings from gcc 4.4.
1 parentaf2cf3b commit096a30b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/backend/parser/parse_func.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/parser/parse_func.c,v 1.212 2009/03/26 22:26:06 petere Exp $
11+
* $PostgreSQL: pgsql/src/backend/parser/parse_func.c,v 1.213 2009/04/24 16:09:50 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -827,6 +827,15 @@ func_get_detail(List *funcname,
827827
FuncCandidateListraw_candidates;
828828
FuncCandidateListbest_candidate;
829829

830+
/* initialize output arguments to silence compiler warnings */
831+
*funcid=InvalidOid;
832+
*rettype=InvalidOid;
833+
*retset= false;
834+
*nvargs=0;
835+
*true_typeids=NULL;
836+
if (argdefaults)
837+
*argdefaults=NIL;
838+
830839
/* Get list of possible candidates from namespace search */
831840
raw_candidates=FuncnameGetCandidates(funcname,nargs,
832841
expand_variadic,expand_defaults);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp