diff options
author | Sergio Campama <kaipi@google.com> | 2016-05-27 11:42:37 -0700 |
---|---|---|
committer | Sergio Campama <kaipi@google.com> | 2016-05-27 12:17:35 -0700 |
commit | a714c401a901642082dc6f1581e8b008c3c7d691 (patch) | |
tree | b9bf3230666282989d8786fb8c0f19126fef2ecc /objectivec | |
parent | 86e8f1fd7add7b32f3218d121837b92e1c847e18 (diff) | |
download | protobuf-a714c401a901642082dc6f1581e8b008c3c7d691.tar.gz protobuf-a714c401a901642082dc6f1581e8b008c3c7d691.tar.bz2 protobuf-a714c401a901642082dc6f1581e8b008c3c7d691.zip |
Removing unused GPBExceptionMessageKey
https://github.com/google/protobuf/issues/1618
Diffstat (limited to 'objectivec')
-rw-r--r-- | objectivec/GPBMessage.h | 7 | ||||
-rw-r--r-- | objectivec/GPBMessage.m | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/objectivec/GPBMessage.h b/objectivec/GPBMessage.h index 58c42d02..2249829f 100644 --- a/objectivec/GPBMessage.h +++ b/objectivec/GPBMessage.h @@ -55,13 +55,6 @@ typedef NS_ENUM(NSInteger, GPBMessageErrorCode) { GPBMessageErrorCodeMissingRequiredField = -101, }; -#ifdef DEBUG -/// In DEBUG ONLY, an NSException is thrown when a parsed message doesn't -/// contain required fields. This key allows you to retrieve the parsed message -/// from the exception's @c userInfo dictionary. -extern NSString *const GPBExceptionMessageKey; -#endif // DEBUG - CF_EXTERN_C_END /// Base class for all of the generated message classes. diff --git a/objectivec/GPBMessage.m b/objectivec/GPBMessage.m index 77b9dbd3..54466a19 100644 --- a/objectivec/GPBMessage.m +++ b/objectivec/GPBMessage.m @@ -53,11 +53,6 @@ NSString *const GPBMessageErrorDomain = GPBNSStringifySymbol(GPBMessageErrorDomain); -#ifdef DEBUG -NSString *const GPBExceptionMessageKey = - GPBNSStringifySymbol(GPBExceptionMessage); -#endif // DEBUG - static NSString *const kGPBDataCoderKey = @"GPBData"; // |