projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2dced
)
table-item: Don't unshare a pivot_table upon adding to table_item.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 06:20:56 +0000
(22:20 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 06:20:56 +0000
(22:20 -0800)
I don't know a reason to do so.
src/output/table-item.c
patch
|
blob
|
history
diff --git
a/src/output/table-item.c
b/src/output/table-item.c
index b52bb8ce56655c287ea3967c915f4e55fb1e0477..4860c3450c11f69a1719d0738370db9556a146a0 100644
(file)
--- a/
src/output/table-item.c
+++ b/
src/output/table-item.c
@@
-43,7
+43,7
@@
table_item_create (struct pivot_table *pt)
struct table_item *item = xmalloc (sizeof *item);
*item = (struct table_item) {
.output_item = OUTPUT_ITEM_INITIALIZER (&table_item_class),
- .pt = p
ivot_table_unshare (pt)
,
+ .pt = p
t
,
};
return item;
}