HomePhabricator

NFC: Fix variable only used in asserts by propagating the value.

Authored by saugustine on Oct 17 2019, 11:08 AM.

Description

NFC: Fix variable only used in asserts by propagating the value.

Summary:
This fixes builds with assertions disabled that would otherwise
fail with unused variable warnings

Subscribers: nemanjai, hiraditya, kbarton, MaskRay, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69123

llvm-svn: 375148