In
d9d8aa9bb9a I added a defensive NULL assignment to protect against a
not-too-smart compiler warning about unitialized variable use after the
switch. Unfortunately I only did so on master and forgot to adjust that for
14.
Stephen noticed that there actually is a compiler warning :(.
Reported-By: Stephen Frost
Discussion: https://postgr.es/m/
20210827224639[email protected]
GlobalVisState *
GlobalVisTestFor(Relation rel)
{
- GlobalVisState *state;
+ GlobalVisState *state = NULL;
/* XXX: we should assert that a snapshot is pushed or registered */
Assert(RecentXmin);