Stop reading uninitialized memory in heap_inplace_lock().

Noah Misch <noah@leadboat.com>

Commit: ad24b75659100df76bf998956c59481c4262b3ec
Author: Noah Misch <noah@leadboat.com>
Date: 2024-10-24T16:16:19Z
Releases: 14.14
Stop reading uninitialized memory in heap_inplace_lock().

Stop computing a never-used value.  This removes the read; the read had
no functional implications.  Back-patch to v12, like commit
a07e03fd8fa7daf4d1356f7cb501ffe784ea6257.

Reported by Alexander Lakhin.

Discussion: https://postgr.es/m/6c92f59b-f5bc-e58c-9bdd-d1f21c17c786@gmail.com

Files

Discussion