Fix unused variable compiler warning in !debug builds.

Andres Freund <andres@anarazel.de>

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