parent
52601275d5
commit
993d1e786a
|
@ -587,7 +587,7 @@ struct GenericArrayOf
|
||||||
* other structs. */
|
* other structs. */
|
||||||
unsigned int count = len;
|
unsigned int count = len;
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
if (array[i].sanitize (c))
|
if (unlikely (!array[i].sanitize (c)))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -697,9 +697,8 @@ struct HeadlessArrayOf
|
||||||
* to do have a simple sanitize(), ie. they do not reference
|
* to do have a simple sanitize(), ie. they do not reference
|
||||||
* other structs. */
|
* other structs. */
|
||||||
unsigned int count = len ? len - 1 : 0;
|
unsigned int count = len ? len - 1 : 0;
|
||||||
Type *a = array;
|
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
if (unlikely (!a[i].sanitize (c)))
|
if (unlikely (!array[i].sanitize (c)))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue