forked from OSchip/llvm-project
[COFF] Fix -Wredundant-move
This commit is contained in:
parent
bb94611d65
commit
3a252806f4
|
@ -786,7 +786,7 @@ static Error ignoreStrippedErrors(Error E) {
|
|||
consumeError(std::move(E));
|
||||
return Error::success();
|
||||
}
|
||||
return std::move(E);
|
||||
return E;
|
||||
}
|
||||
|
||||
Error COFFObjectFile::initialize() {
|
||||
|
|
Loading…
Reference in New Issue