mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[llvm-objcopy] Fix a warningon unused variable. NFC.
llvm-svn: 372745
This commit is contained in:
parent
38c6f227ec
commit
8fb25cd687
@ -386,7 +386,7 @@ Expected<DriverConfig> parseObjcopyOptions(ArrayRef<const char *> ArgsArr) {
|
||||
.Case("ihex", FileFormat::IHex)
|
||||
.Default(FileFormat::Unspecified);
|
||||
|
||||
if (opt::Arg *A = InputArgs.getLastArg(OBJCOPY_new_symbol_visibility))
|
||||
if (InputArgs.hasArg(OBJCOPY_new_symbol_visibility))
|
||||
Config.NewSymbolVisibility =
|
||||
InputArgs.getLastArgValue(OBJCOPY_new_symbol_visibility);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user