Ticket #286: avltree_walk.patch

File avltree_walk.patch, 411 bytes (added by Štěpán Henek, 14 years ago)

patch

  • kernel/generic/src/adt/avl.c

    === modified file 'kernel/generic/src/adt/avl.c'
     
    699699static bool _avltree_walk(avltree_node_t *node, avltree_walker_t walker,
    700700    void *arg)
    701701{
     702        if (NULL == node) {
     703                return false;
     704        }
     705
    702706        if (node->lft) {
    703707                if (!_avltree_walk(node->lft, walker, arg))
    704708                        return false;