Fix unused variable compiler warning in !debug builds.

Andres Freund <andres@anarazel.de>

Commit: 5409e359f81488056fb690c7aef0fd79d8a118d6
Author: Andres Freund <andres@anarazel.de>
Date: 2019-05-01T00:45:32Z
Releases: 9.5.17
Fix unused variable compiler warning in !debug builds.

Introduced in 3dbb317d3.  Fix by using the new local variable in more
places.

Reported-By: Bruce Momjian (off-list)
Backpatch: 9.4-, like 3dbb317d3

Files

PathChange+/−
src/backend/catalog/indexing.c modified +3 −3