git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d89026)
Suppress a possibly-uninitialized-variable warning. (I'm only seeing it
2008年5月16日 18:34:51 +0000 (18:34 +0000)
2008年5月16日 18:34:51 +0000 (18:34 +0000)
on Apple's gcc and not my other machines, but still it seems worth
getting rid of.)


diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index aeb5d365b495a3eb976bae9439ccd078c203d078..f4088616f2637ff20ec6a411e22f4a98b1497663 100644 (file)
--- a/src/pl/plpgsql/src/pl_exec.c
+++ b/src/pl/plpgsql/src/pl_exec.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.215 2008年05月15日 22:39:49 tgl Exp $
+ * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.216 2008年05月16日 18:34:51 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -4047,7 +4047,7 @@ exec_eval_expr(PLpgSQL_execstate *estate,
bool *isNull,
Oid *rettype)
{
- Datum result;
+ Datum result = 0;
int rc;
/*
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /