diff options
author | 2018-11-29 11:33:18 -0800 | |
---|---|---|
committer | 2018-11-29 11:33:18 -0800 | |
commit | c1896c9a0e15df3a1b9a3a19bcd2a933b654fe06 (patch) | |
tree | b68a5f5163f8da0da87d671a225addaa2a13095f /libdexfile/dex/dex_instruction.cc | |
parent | f2970cd870948a6ee1c8ecd30c9c3147d05aa0be (diff) |
C++17 compatibility: make WITH_TIDY=1 happy again.
Bug: http://b/111067277
Test: builds
Change-Id: I8b69ea3815e14bb6eb27f40c0dd01a85b340a355
Diffstat (limited to 'libdexfile/dex/dex_instruction.cc')
-rw-r--r-- | libdexfile/dex/dex_instruction.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdexfile/dex/dex_instruction.cc b/libdexfile/dex/dex_instruction.cc index 8378211c43..83663c50e8 100644 --- a/libdexfile/dex/dex_instruction.cc +++ b/libdexfile/dex/dex_instruction.cc @@ -85,7 +85,7 @@ int32_t Instruction::GetTargetOffset() const { default: LOG(FATAL) << "Tried to access the branch offset of an instruction " << Name() << " which does not have a target operand."; } - return 0; + UNREACHABLE(); } bool Instruction::CanFlowThrough() const { |