From d1f3463ac78bb395eec5ae4b8f3ed93a9f75b6ad Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 9 Jan 2013 18:56:05 +0000 Subject: [PATCH] Make sure that there is always a comma between T and V in property attributes. --- properties.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/properties.m b/properties.m index 2fd75d3..fd8bf87 100644 --- a/properties.m +++ b/properties.m @@ -434,10 +434,7 @@ PRIVATE const char *constructPropertyAttributes(objc_property_t property, memcpy(insert, property->setter_name, setterLength); insert += setterLength; } - if (i > 0) - { - *(insert++) = ','; - } + *(insert++) = ','; *(insert++) = 'V'; // If the instance variable name is the same as the property name, then we // use the same string for both, otherwise we write the ivar name in the