diff options
| author | Simon Tatham <anakin@pobox.com> | 2012-05-03 17:43:21 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2012-05-03 17:43:21 +0000 |
| commit | 689093cc870e60ab82a176c33613fa0aeaa0bf69 (patch) | |
| tree | 0ae533c4c553d0cd50759686363c211104c66910 /bk_paper.c | |
| parent | ca37980e070dcd96d27d299bd4426858ec37ceae (diff) | |
| download | halibut-689093cc870e60ab82a176c33613fa0aeaa0bf69.zip halibut-689093cc870e60ab82a176c33613fa0aeaa0bf69.tar.gz halibut-689093cc870e60ab82a176c33613fa0aeaa0bf69.tar.bz2 halibut-689093cc870e60ab82a176c33613fa0aeaa0bf69.tar.xz | |
Remove a bunch of unused variables spotted by Ubuntu 12.04's gcc.
[originally from svn r9478]
Diffstat (limited to 'bk_paper.c')
| -rw-r--r-- | bk_paper.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1715,7 +1715,6 @@ static void wrap_paragraph(para_data *pdata, word *words, for (p = wrapping; p; p = p->next) { line_data *ldata; - word *wd; int len, wid, spaces; ldata = snew(line_data); @@ -1740,7 +1739,6 @@ static void wrap_paragraph(para_data *pdata, word *words, spaces = 0; len = paper_width_list(&ctx, ldata->first, ldata->end, &spaces); wid = (p == wrapping ? w - i1 : w - i2); - wd = ldata->first; ldata->hshortfall = wid - len; ldata->nspaces = spaces; |