From: Ben Pfaff Date: Wed, 5 Aug 2009 03:01:44 +0000 (-0700) Subject: output: Get rid of write-only "hit" member in struct tab_joined_cell. X-Git-Tag: sid-i386-build98~16 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bacaebbe84aa9004efa7cbe583a521edd10b524e;p=pspp-builds.git output: Get rid of write-only "hit" member in struct tab_joined_cell. This member used to be used, but that use was eliminated in commit 1cc38c81df "Get rid of most global variables in outputting tables." --- diff --git a/src/output/table.c b/src/output/table.c index 9c931a5a..f6afa89c 100644 --- 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 7f128814..d5a03298 100644 --- 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; };