projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3feb18
)
output: Get rid of write-only "hit" member in struct tab_joined_cell.
author
Ben Pfaff
<blp@gnu.org>
Wed, 5 Aug 2009 03:01:44 +0000
(20:01 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Wed, 5 Aug 2009 03:01:44 +0000
(20:01 -0700)
This member used to be used, but that use was eliminated in commit
1cc38c81df
"Get rid of most global variables in outputting tables."
src/output/table.c
patch
|
blob
|
history
src/output/table.h
patch
|
blob
|
history
diff --git
a/src/output/table.c
b/src/output/table.c
index 9c931a5a3586fdfe3e267056f27e1b8a45e1e590..f6afa89c90927821206e12502842c47549e9ac4e 100644
(file)
--- a/
src/output/table.c
+++ b/
src/output/table.c
@@
-732,7
+732,6
@@
tab_joint_text (struct tab_table *table, int x1, int y1, int x2, int y2,
tab_box (table, -1, -1, TAL_0, TAL_0, x1, y1, x2, y2);
j = pool_alloc (table->container, sizeof *j);
- j->hit = 0;
j->x1 = x1 + table->col_ofs;
j->y1 = y1 + table->row_ofs;
j->x2 = ++x2 + table->col_ofs;
diff --git
a/src/output/table.h
b/src/output/table.h
index 7f128814bb369814e27925edd5af65636f0aafb0..d5a0329846d452d4dc7ef54bc4ea0f8c3dbdd404 100644
(file)
--- a/
src/output/table.h
+++ b/
src/output/table.h
@@
-61,7
+61,6
@@
struct tab_joined_cell
{
int x1, y1;
int x2, y2;
- int hit;
struct substring contents;
};