Commit 1040d86c by Karl Schimpf

Remove compiler warning when building within LLVM trunk.

Clang doesn't realize that the end of method NaClBitstreamCursor::readArrayAbbreviatedField is unreachable. Add unreachable call to make the compiler happy. BUG=None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1963193003 .
parent a5b16abf
...@@ -188,6 +188,7 @@ uint64_t NaClBitstreamCursor::readArrayAbbreviatedField( ...@@ -188,6 +188,7 @@ uint64_t NaClBitstreamCursor::readArrayAbbreviatedField(
case NaClBitCodeAbbrevOp::Char6: case NaClBitCodeAbbrevOp::Char6:
return NaClBitCodeAbbrevOp::DecodeChar6(Read(6)); return NaClBitCodeAbbrevOp::DecodeChar6(Read(6));
} }
llvm_unreachable("Illegal abbreviation encoding for field!");
} }
void NaClBitstreamCursor::readArrayAbbrev( void NaClBitstreamCursor::readArrayAbbrev(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment