From 21b58b51fea296434df40380aafb25346d5975ae Mon Sep 17 00:00:00 2001 From: Manjunath Kudlur Date: Mon, 6 Mar 2017 15:50:26 -0800 Subject: [PATCH] Removed a stray return statement, causing compilation error. --- src/google/protobuf/repeated_field.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/google/protobuf/repeated_field.h b/src/google/protobuf/repeated_field.h index 4e5bcf519c..db5893b501 100644 --- a/src/google/protobuf/repeated_field.h +++ b/src/google/protobuf/repeated_field.h @@ -1487,7 +1487,6 @@ inline void RepeatedPtrFieldBase::Add( typename TypeHandler::Type* result = TypeHandler::New(arena_, std::move(value)); rep_->elements[current_size_++] = result; - return result; } #endif