--- libaitio/src/Attic/array.c 2011/08/31 12:46:58 1.4.2.2 +++ libaitio/src/Attic/array.c 2011/08/31 13:19:22 1.4.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: array.c,v 1.4.2.2 2011/08/31 12:46:58 misho Exp $ +* $Id: array.c,v 1.4.2.3 2011/08/31 13:19:22 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -210,7 +210,6 @@ io_arrayGrow(array_t * __restrict arr, int newNumItems int n = 0; register int i; - assert(arr); if (!arr) return -1; @@ -254,7 +253,6 @@ io_arrayVacuum(array_t * __restrict arr, int fromWhere register int i, j, num; int cx = 0; - assert(arr); if (!arr) return -1; else @@ -307,8 +305,6 @@ io_arrayPush(array_t * __restrict arr, void **data) register int i; int ret = -1; - assert(arr); - for (i = 0; i < io_arraySize(arr); i++) if (!arr->arr_data[i]) { if (data) @@ -332,8 +328,6 @@ io_arrayPop(array_t * __restrict arr, void ** __restri { register int i; int ret = -1; - - assert(arr); for (i = io_arraySize(arr) - 1; i >= 0; i--) if (arr->arr_data[i]) {