diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-16 18:34:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-16 18:34:51 +0000 |
commit | c3fc2bf744c54aed80fea9ac44f4a18b8fb6e374 (patch) | |
tree | 3cf78bc69ada03cbfbaa55b0b0d693fd6777885f | |
parent | 1d8902678844701c246063c7547bddb5071cdef5 (diff) | |
download | postgresql-c3fc2bf744c54aed80fea9ac44f4a18b8fb6e374.tar.gz postgresql-c3fc2bf744c54aed80fea9ac44f4a18b8fb6e374.zip |
Suppress a possibly-uninitialized-variable warning. (I'm only seeing it
on Apple's gcc and not my other machines, but still it seems worth
getting rid of.)
-rw-r--r-- | src/pl/plpgsql/src/pl_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index aeb5d365b49..f4088616f26 100644 --- 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; /* |