From c3fc2bf744c54aed80fea9ac44f4a18b8fb6e374 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 16 May 2008 18:34:51 +0000 Subject: [PATCH] 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.) --- src/pl/plpgsql/src/pl_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index aeb5d365b4..f4088616f2 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; /*