forked from OSchip/llvm-project
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:
parent
057e6bb554
commit
0415cf470b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue