pivot-table: Properly allocate pivot_table's current_layer.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Jul 2019 04:36:59 +0000 (21:36 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Jul 2019 04:36:59 +0000 (21:36 -0700)
commitaaa1b7550afd3e5a85623016883ef29672dbdfba
tree15c43708f6505f07deddd39c165ba670a294d432
parent0c12adbe4293ec0b2cca604cbbdeada09e81c61e
pivot-table: Properly allocate pivot_table's current_layer.

The default current_layer should be all-zeros, but the code wasn't
allocating current_layer at all.  This didn't cause much of a problem
because nothing in the current tree allocates layers, but it will as
layers are added.

Thanks to John Darrington for reporting the bug.
src/output/pivot-table.c
src/output/pivot-table.h