mirror of /home/gitosis/repositories/libev.git
Add unused attribute to ocur_ variable.
This commit is contained in:
parent
7075cdb24b
commit
92d4a272f9
2
ev.c
2
ev.c
|
@ -966,7 +966,7 @@ array_realloc (int elem, void *base, int *cur, int cnt)
|
|||
#define array_needsize(type,base,cur,cnt,init) \
|
||||
if (expect_false ((cnt) > (cur))) \
|
||||
{ \
|
||||
int ocur_ = (cur); \
|
||||
int ecb_unused ocur_ = (cur); \
|
||||
(base) = (type *)array_realloc \
|
||||
(sizeof (type), (base), &(cur), (cnt)); \
|
||||
init ((base) + (ocur_), (cur) - ocur_); \
|
||||
|
|
Loading…
Reference in New Issue