Fix unused variable warning. NFCI.

We're just performing a null pointer check, we don't need the actual variable.
This commit is contained in:
Simon Pilgrim 2020-11-18 16:23:04 +00:00
parent 057e6bb554
commit 0415cf470b
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ LinkageInfo LinkageComputer::getLVForValue(const APValue &V,
}
case APValue::Union:
if (const auto *FD = V.getUnionField())
if (V.getUnionField())
Merge(V.getUnionValue());
break;