mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
[util] Fix darray test for gcc purity
This commit is contained in:
parent
38fc7459e4
commit
d2f03e8a64
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ check_array (int a, int b)
|
|||
return !!intarray.a;
|
||||
}
|
||||
|
||||
static int
|
||||
static int __attribute__((pure))
|
||||
check_value (int index, int b)
|
||||
{
|
||||
if ((size_t) index >= intarray.size) {
|
||||
|
|
Loading…
Reference in a new issue