mirror of
https://github.com/postgres/postgres.git
synced 2026-04-13 21:17:00 -04:00
Fix silly initializations (cosmetic only).
Initializing a pointer to "false" isn't per project style,
and reportedly some compilers warn about it (though I've
not seen any such warnings in the buildfarm).
Seems to have come in with commit ff11e7f4b, so back-patch
to v12 where that was added.
Didier Gautheron
Discussion: https://postgr.es/m/CAJRYxu+XQuM0qnSqt1Ujztu6fBPzMMAT3VEn6W32rgKG6A2Fsw@mail.gmail.com
This commit is contained in:
parent
d9802590a1
commit
99cc47b1d8
1 changed files with 2 additions and 2 deletions
|
|
@ -2536,7 +2536,7 @@ ExecBRInsertTriggers(EState *estate, ResultRelInfo *relinfo,
|
|||
TupleTableSlot *slot)
|
||||
{
|
||||
TriggerDesc *trigdesc = relinfo->ri_TrigDesc;
|
||||
HeapTuple newtuple = false;
|
||||
HeapTuple newtuple = NULL;
|
||||
bool should_free;
|
||||
TriggerData LocTriggerData;
|
||||
int i;
|
||||
|
|
@ -3181,7 +3181,7 @@ ExecIRUpdateTriggers(EState *estate, ResultRelInfo *relinfo,
|
|||
{
|
||||
TriggerDesc *trigdesc = relinfo->ri_TrigDesc;
|
||||
TupleTableSlot *oldslot = ExecGetTriggerOldSlot(estate, relinfo);
|
||||
HeapTuple newtuple = false;
|
||||
HeapTuple newtuple = NULL;
|
||||
bool should_free;
|
||||
TriggerData LocTriggerData;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue