Changeset 8f9c808 in mainline


Ignore:
Timestamp:
2016-07-19T07:16:16Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.