aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2018-07-11 12:16:04 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2018-07-11 12:16:04 -0400
commitb908add40f0d4eac6a8a10da8a3a6c25bec744cc (patch)
tree7e8075c49d9d63fa63df3a13c416d0ab75161c1a /objectivec
parent237938ac6ae07d732e1147073ab3569379c313a5 (diff)
objectivec: Quash -Wself-assign
Diffstat (limited to 'objectivec')
-rw-r--r--objectivec/Tests/GPBTestUtilities.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/Tests/GPBTestUtilities.m b/objectivec/Tests/GPBTestUtilities.m
index ebccaac9..0362bdde 100644
--- a/objectivec/Tests/GPBTestUtilities.m
+++ b/objectivec/Tests/GPBTestUtilities.m
@@ -85,7 +85,7 @@ const uint32_t kGPBDefaultRepeatCount = 2;
NSLog(@"Wrote data file to %@", path);
#else
// Kill off the unused variable warning.
- dataToWrite = dataToWrite;
+ (void)dataToWrite;
#endif
return data;
}