]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
Add unused attribute to ocur_ variable.
authorEmanuele Giaquinta <exg@gentoo.org>
Thu, 30 Jun 2011 13:13:59 +0000 (13:13 +0000)
committerEmanuele Giaquinta <exg@gentoo.org>
Thu, 30 Jun 2011 13:13:59 +0000 (13:13 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 66f6459f0fd42f5fe9baf70866cb912eb1e20bc8..4be8d498d57e5f4cc199dd22689444b3d5be79e7 100644 (file)
--- 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_);                  \