[gold-plugin] Remove dead assignment. NFC.

llvm-svn: 267429
This commit is contained in:
Davide Italiano 2016-04-25 17:18:45 +00:00
parent 9af8c88f86
commit a7818daee6

View File

@ -515,7 +515,6 @@ static ld_plugin_status claim_file_hook(const ld_plugin_input_file *file,
Res.Visibility = getMinVisibility(Res.Visibility, GV->getVisibility());
switch (GV->getVisibility()) {
case GlobalValue::DefaultVisibility:
sym.visibility = LDPV_DEFAULT;
break;
case GlobalValue::HiddenVisibility:
sym.visibility = LDPV_HIDDEN;