pgsql: Initialize variable to silence compiler warning.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Initialize variable to silence compiler warning.
Date: 2019-02-27 17:18:02
Message-ID: E1gz2qI-0002pg-8o@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Initialize variable to silence compiler warning.

After ff11e7f4b9ae Tom's compiler warns about accessing a potentially
uninitialized rInfo. That's not actually possible, but it's
understandable the compiler would get this wrong. NULL initialize too.

Reported-By: Tom Lane
Discussion: https://postgr.es/m/11199.1551285318@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5963b29e03d9b93011acb3954ccc3565d217acc3

Modified Files
--------------
src/backend/commands/trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-02-27 17:18:10 Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc
Previous Message Tom Lane 2019-02-27 16:35:18 Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc