瀏覽代碼

Integrate interanl changes

Bo Yang 9 年之前
父節點
當前提交
6673283a56
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/google/protobuf/compiler/js/js_generator.cc
  2. 1 1
      src/google/protobuf/text_format_unittest.cc

+ 1 - 0
src/google/protobuf/compiler/js/js_generator.cc

@@ -489,6 +489,7 @@ string JSByteGetterSuffix(BytesMode bytes_mode) {
     default:
     default:
       assert(false);
       assert(false);
   }
   }
+  return "";
 }
 }
 
 
 // Returns the field name as a capitalized portion of a getter/setter method
 // Returns the field name as a capitalized portion of a getter/setter method

+ 1 - 1
src/google/protobuf/text_format_unittest.cc

@@ -53,11 +53,11 @@
 #include <google/protobuf/unittest_mset_wire_format.pb.h>
 #include <google/protobuf/unittest_mset_wire_format.pb.h>
 #include <google/protobuf/io/tokenizer.h>
 #include <google/protobuf/io/tokenizer.h>
 #include <google/protobuf/io/zero_copy_stream_impl.h>
 #include <google/protobuf/io/zero_copy_stream_impl.h>
+#include <google/protobuf/stubs/mathlimits.h>
 #include <google/protobuf/stubs/strutil.h>
 #include <google/protobuf/stubs/strutil.h>
 #include <google/protobuf/stubs/substitute.h>
 #include <google/protobuf/stubs/substitute.h>
 #include <google/protobuf/testing/googletest.h>
 #include <google/protobuf/testing/googletest.h>
 #include <gtest/gtest.h>
 #include <gtest/gtest.h>
-#include <google/protobuf/stubs/mathlimits.h>
 
 
 
 
 namespace google {
 namespace google {