aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xsrc/google/protobuf/compiler/js/js_generator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/js/js_generator.cc b/src/google/protobuf/compiler/js/js_generator.cc
index 1e308464..3ffa9539 100755
--- a/src/google/protobuf/compiler/js/js_generator.cc
+++ b/src/google/protobuf/compiler/js/js_generator.cc
@@ -690,6 +690,8 @@ string JSFieldDefault(const FieldDescriptor* field) {
case FieldDescriptor::CPPTYPE_MESSAGE:
return "null";
}
+ GOOGLE_LOG(FATAL) << "Shouldn't reach here.";
+ return "";
}
string ProtoTypeName(const GeneratorOptions& options,