mirror of https://github.com/xzeldon/htop.git
This assert is no longer valid.
This commit is contained in:
parent
d4256d6300
commit
094ddc4051
1
Vector.c
1
Vector.c
|
@ -189,7 +189,6 @@ static void Vector_checkArraySize(Vector* this) {
|
||||||
void Vector_insert(Vector* this, int idx, void* data_) {
|
void Vector_insert(Vector* this, int idx, void* data_) {
|
||||||
Object* data = data_;
|
Object* data = data_;
|
||||||
assert(idx >= 0);
|
assert(idx >= 0);
|
||||||
assert(idx <= this->items);
|
|
||||||
assert(Object_isA(data, this->type));
|
assert(Object_isA(data, this->type));
|
||||||
assert(Vector_isConsistent(this));
|
assert(Vector_isConsistent(this));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue