(allocate_itemsets): Use xnmalloc, not xcalloc,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Dec 2004 07:48:43 +0000 (07:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Dec 2004 07:48:43 +0000 (07:48 +0000)
commit86a54ab102efa385300bfbdb203491715c26034b
tree18949b021e0fae76931de6937af3ec62513a7118
parent81758375969c0d0c6f7277d01061ece6d47bb15e
(allocate_itemsets): Use xnmalloc, not xcalloc,
to allocate kernel_base, kernel_items, kernel_size, since
they needn't be initialized to 0.
(set_states): Don't reuse kernel_size and kernel_base
for initial core.  Just have a separate core, so we needn't worry
about whether kernel_size and kernel_base are initialized.
(shift_symbol, redset, shiftset, kernel_base,
kernel_size, kernel_items): Remove unnecessary initialization.
src/LR0.c