diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2014-12-02 15:28:11 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2014-12-02 15:28:11 -0800 |
commit | 9173ba22a9ff70697cea92356b9b96cdff71e4ca (patch) | |
tree | fdb325476a27ec1ac6b408847912a06108fbc8fa /src/google/protobuf/extension_set.cc | |
parent | 7f2a9fb1af432a9831b3e6769905601d72c29796 (diff) |
Get rid of some build warnings.
Diffstat (limited to 'src/google/protobuf/extension_set.cc')
-rw-r--r-- | src/google/protobuf/extension_set.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/extension_set.cc b/src/google/protobuf/extension_set.cc index d6ebe4c3..49087131 100644 --- a/src/google/protobuf/extension_set.cc +++ b/src/google/protobuf/extension_set.cc @@ -71,6 +71,8 @@ inline bool is_packable(WireFormatLite::WireType type) { // Do not add a default statement. Let the compiler complain when someone // adds a new wire type. } + GOOGLE_LOG(FATAL) << "can't reach here."; + return false; } // Registry stuff. |