Author: mdiep
Date: Tue Apr 24 09:50:06 2007
New Revision: 18321
Modified:
trunk/src/pmc/smop_attribute.pmc
Log:
#42407: Remove two unnecessary lines from smop_init().
Courtesy Alek Storm <[EMAIL PROTECTED]>.
Modified: trunk/src/pmc/smop_attribute.pmc
==============================================================================
--- trunk/src/pmc/smop_attribute.pmc (original)
+++ trunk/src/pmc/smop_attribute.pmc Tue Apr 24 09:50:06 2007
@@ -29,14 +29,11 @@
} SMOP_Attribute;
static void smop_init(Interp *interp, PMC *self) {
- SMOP_Attribute *smop = NULL;
-
/* turn on custom destruction since our PMC* array is dynamically allocated
*/
PObj_active_destroy_SET(self);
PMC_data(self) = mem_allocate_zeroed_typed(SMOP_Attribute);
- smop = SMOP_attr(self);
}