Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8f9c808 in mainline


Ignore:
Timestamp:
2016-07-19T07:16:16Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
e540424a
Parents:
9fbc7fa
Message:

cht: Make sure done is initialized in resize_table()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/cht.c

    r9fbc7fa r8f9c808  
    21632163#endif
    21642164
    2165         bool done;
     2165        bool done = false;
     2166
    21662167        do {
    2167                 /* Load the most recent  h->item_cnt. */
     2168                /* Load the most recent h->item_cnt. */
    21682169                read_barrier();
    21692170                size_t cur_items = (size_t) atomic_get(&h->item_cnt);
Note: See TracChangeset for help on using the changeset viewer.