Fix unused variable compiler warning in !debug builds.

Andres Freund <andres@anarazel.de>

Commit: d8d5e1ae5ea81f4a36200fdbf88b1822ff8f99bb
Author: Andres Freund <andres@anarazel.de>
Date: 2019-05-01T00:45:32Z
Releases: 10.8
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