mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[lib/ObjectYAML] - Fix BB after r353607. NFC.
Error was: [ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o /Users/buildslave/as-bldslv9_new/lld-x86_64-darwin13/llvm.src/lib/ObjectYAML/ELFYAML.cpp:666:15: error: unused variable 'Object' [-Werror,-Wunused-variable] const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext()); (http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/29920) llvm-svn: 353608
This commit is contained in:
parent
2a4dd5ebf5
commit
eaded9e364
@ -663,8 +663,7 @@ void ScalarEnumerationTraits<ELFYAML::ELF_REL>::enumeration(
|
|||||||
|
|
||||||
void ScalarEnumerationTraits<ELFYAML::ELF_DYNTAG>::enumeration(
|
void ScalarEnumerationTraits<ELFYAML::ELF_DYNTAG>::enumeration(
|
||||||
IO &IO, ELFYAML::ELF_DYNTAG &Value) {
|
IO &IO, ELFYAML::ELF_DYNTAG &Value) {
|
||||||
const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
|
assert(IO.getContext() && "The IO context is not initialized");
|
||||||
assert(Object && "The IO context is not initialized");
|
|
||||||
|
|
||||||
// TODO: For simplicity we do not handle target specific flags. They are
|
// TODO: For simplicity we do not handle target specific flags. They are
|
||||||
// still supported and will be shown as a raw numeric values in the output.
|
// still supported and will be shown as a raw numeric values in the output.
|
||||||
|
Loading…
Reference in New Issue
Block a user