Check added in last checkin was tripping on the ends of the varargs array

Original commit message from CVS:
Check added in last checkin was tripping on the ends of the varargs array
This commit is contained in:
David Schleef 2003-07-13 21:04:25 +00:00
parent 902c0c29eb
commit 8198263d02

View file

@ -747,6 +747,8 @@ G_STMT_START { \
entry->propstype = GST_PROPS_LIST_TYPE; \
entry->data.list_data.entries = g_list_copy (va_arg (var_args, GList*)); \
break; \
case GST_PROPS_END_TYPE: \
break; \
default: \
g_warning("attempt to set invalid props type\n"); \
break; \
@ -793,6 +795,8 @@ G_STMT_START { \
case GST_PROPS_LIST_TYPE: \
*(va_arg (var_args, GList**)) = entry->data.list_data.entries; \
break; \
case GST_PROPS_END_TYPE: \
break; \
default: \
*result = FALSE; \
break; \