Suppress a possibly-uninitialized-variable warning. (I'm only seeing it
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 May 2008 18:34:51 +0000 (18:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 May 2008 18:34:51 +0000 (18:34 +0000)
on Apple's gcc and not my other machines, but still it seems worth
getting rid of.)

src/pl/plpgsql/src/pl_exec.c

index dfa4ca416c5a189c26007ae20579eb0457acdf9e..0144cef9d9e076b40247de90c996e7bae4f1c2c5 100644 (file)
@@ -4047,7 +4047,7 @@ exec_eval_expr(PLpgSQL_execstate *estate,
                           bool *isNull,
                           Oid *rettype)
 {
-       Datum           result;
+       Datum           result = 0;
        int                     rc;
 
        /*