From: Tom Lane Date: Fri, 16 May 2008 18:34:51 +0000 (+0000) Subject: Suppress a possibly-uninitialized-variable warning. (I'm only seeing it X-Git-Tag: REL8_4_BETA1~1371 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3fc2bf744c54aed80fea9ac44f4a18b8fb6e374;p=thirdparty%2Fpostgresql.git 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.) --- 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; /*