Issue #1940122 by DYdave: Fixed error reported by PAReview, introduced by the patch committed at c2bb84ac.