Prevent Xcode compiler warning that methodImpl was not initialised when taking the default path. It should never go there, and will raise an NSAssert if it does, so this is just shutting the compiler up :)
This commit is contained in:
parent
b6b4fdfc92
commit
072130be6a
|
@ -142,7 +142,7 @@ GENERATE_SETTER_GETTER_METHOD_PAIR(NSURL, NSURL*)
|
|||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wpointer-type-mismatch"
|
||||
IMP methodImpl;
|
||||
IMP methodImpl = NULL; // added null to shut compiler warning up if default path taken, which it shouldnt.
|
||||
switch (propertyType) {
|
||||
case 'c':
|
||||
case 'B':
|
||||
|
|
Loading…
Reference in New Issue