diff --git a/WINGs/bagtree.c b/WINGs/bagtree.c index bf1ac488..25ac0805 100644 --- a/WINGs/bagtree.c +++ b/WINGs/bagtree.c @@ -758,5 +758,8 @@ void *WMBagIteratorAtIndex(WMBag * self, int index, WMBagIterator * ptr) int WMBagIndexForIterator(WMBag * bag, WMBagIterator ptr) { + /* Parameter not used, but tell the compiler that it is ok */ + (void) bag; + return ((W_Node *) ptr)->index; }