summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2011-06-30 13:13:59 +0000
committersf-exg <sf-exg>2011-06-30 13:13:59 +0000
commit1431908186c4a176216efc1494854fbc6b12379f (patch)
tree0598ad21a15be5a9d0f97f6810ef2a2eb709fb86
parent21c8abd4acc82af7c4f1182abccf74db14723fcf (diff)
Add unused attribute to ocur_ variable.
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 66f6459..4be8d49 100644
--- a/ev.c
+++ b/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_); \