commit | 7a9d5825e22b3c4fa5b830e0bc37722e11ede6a4 | [log] [tgz] |
---|---|---|
author | Feng Xiao <xfxyjwf@gmail.com> | Mon Dec 28 16:30:59 2015 -0800 |
committer | Feng Xiao <xfxyjwf@gmail.com> | Mon Dec 28 16:30:59 2015 -0800 |
tree | d4dbdba41018f7b98d1dbb5ccf7171a626fe87be | |
parent | b7610f129df84d7f823f64d5dce9bfa1578cf49e [diff] [blame] |
Fix a compiler warning. Change-Id: I4c4e2a4a248e4336fef735f75ff5648d8d33627e
diff --git a/src/google/protobuf/compiler/js/js_generator.cc b/src/google/protobuf/compiler/js/js_generator.cc index 1e30846..3ffa953 100755 --- a/src/google/protobuf/compiler/js/js_generator.cc +++ b/src/google/protobuf/compiler/js/js_generator.cc
@@ -690,6 +690,8 @@ case FieldDescriptor::CPPTYPE_MESSAGE: return "null"; } + GOOGLE_LOG(FATAL) << "Shouldn't reach here."; + return ""; } string ProtoTypeName(const GeneratorOptions& options,