summaryrefslogtreecommitdiff
path: root/libdexfile/dex/dex_instruction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libdexfile/dex/dex_instruction.cc')
-rw-r--r--libdexfile/dex/dex_instruction.cc2
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 {