diff --git a/data_structures/array/carray.c b/data_structures/array/carray.c index 7b812eb7ac..d5b1aad51e 100644 --- a/data_structures/array/carray.c +++ b/data_structures/array/carray.c @@ -68,6 +68,7 @@ int removeValueCArray(CArray *array, int position) if (array->array[position] != 0) { array->array[position] = 0; + return SUCCESS; } else return POSITION_EMPTY;