mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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
This commit is contained in:
parent
538ecc17c4
commit
5963b29e03
@ -4490,7 +4490,7 @@ afterTriggerInvokeEvents(AfterTriggerEventList *events,
|
|||||||
AfterTriggerEventChunk *chunk;
|
AfterTriggerEventChunk *chunk;
|
||||||
MemoryContext per_tuple_context;
|
MemoryContext per_tuple_context;
|
||||||
bool local_estate = false;
|
bool local_estate = false;
|
||||||
ResultRelInfo *rInfo;
|
ResultRelInfo *rInfo = NULL;
|
||||||
Relation rel = NULL;
|
Relation rel = NULL;
|
||||||
TriggerDesc *trigdesc = NULL;
|
TriggerDesc *trigdesc = NULL;
|
||||||
FmgrInfo *finfo = NULL;
|
FmgrInfo *finfo = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user