Branch: Tag:

2014-12-04

2014-12-04 19:23:14 by Arne Goedeke <el@laramies.com>

append_array(): get rid of compile warning

2296:    */   PMOD_EXPORT struct array *append_array(struct array *a, struct svalue *s)   { -  a=resize_array(a,a->size+1); -  array_set_index(a, a->size-1, s); +  INT32 size = a->size; +  a=resize_array(a, size+1); +  array_set_index(a, size, s);    return a;   }