code cleanup: comment unused members of bmesh operator slots and some osl style edits.

This commit is contained in:
2012-11-20 14:31:58 +00:00
parent f92359cc29
commit 68e9fdeb81
5 changed files with 15 additions and 15 deletions

View File

@@ -119,8 +119,8 @@ typedef struct BMOpSlot {
const char *slot_name; /* pointer to BMOpDefine.slot_args */
int slot_type;
int len;
int flag;
int index; /* index within slot array */
// int flag; /* UNUSED */
// int index; /* index within slot array */ /* UNUSED */
union {
int i;
float f;

View File

@@ -133,7 +133,7 @@ static void bmo_op_slots_init(BMOSlotType *slot_types, BMOpSlot *slot_args)
for (i = 0; slot_types[i].type; i++) {
slot_args[i].slot_name = slot_types[i].name;
slot_args[i].slot_type = slot_types[i].type;
slot_args[i].index = i;
// slot_args[i].index = i; // UNUSED
}
}