Commit 5963b29e authored by Andres Freund's avatar Andres Freund

Initialize variable to silence compiler warning.

After ff11e7f4 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
parent 538ecc17
......@@ -4490,7 +4490,7 @@ afterTriggerInvokeEvents(AfterTriggerEventList *events,
AfterTriggerEventChunk *chunk;
MemoryContext per_tuple_context;
bool local_estate = false;
ResultRelInfo *rInfo;
ResultRelInfo *rInfo = NULL;
Relation rel = NULL;
TriggerDesc *trigdesc = NULL;
FmgrInfo *finfo = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment