aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2018-10-02 10:42:20 -0400
committerThomas Van Lenten <thomasvl@google.com>2018-10-02 13:45:18 -0400
commit561413523fdd5d9cd67194439170aff83336ed50 (patch)
tree9850163f3eabd639968df99d58186658b182cdf0
parent4265a1d36c0c646e393acaf57defbcc3d8d38e48 (diff)
downloadprotobuf-561413523fdd5d9cd67194439170aff83336ed50.tar.gz
protobuf-561413523fdd5d9cd67194439170aff83336ed50.tar.bz2
protobuf-561413523fdd5d9cd67194439170aff83336ed50.zip
Remove stray 'return'.
-rw-r--r--objectivec/GPBMessage.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/GPBMessage.m b/objectivec/GPBMessage.m
index db5d3b60..c51dfb25 100644
--- a/objectivec/GPBMessage.m
+++ b/objectivec/GPBMessage.m
@@ -3178,7 +3178,7 @@ static void ResolveIvarSet(__unsafe_unretained GPBFieldDescriptor *field,
// full lookup.
const GPBFileSyntax syntax = descriptor.file.syntax;
result.impToAdd = imp_implementationWithBlock(^(id obj, id value) {
- return GPBSetObjectIvarWithFieldInternal(obj, field, value, syntax);
+ GPBSetObjectIvarWithFieldInternal(obj, field, value, syntax);
});
result.encodingSelector = @selector(setArray:);
break;