summaryrefslogtreecommitdiff
path: root/bk_pdf.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-05-03 17:43:21 +0000
committerSimon Tatham <anakin@pobox.com>2012-05-03 17:43:21 +0000
commit689093cc870e60ab82a176c33613fa0aeaa0bf69 (patch)
tree0ae533c4c553d0cd50759686363c211104c66910 /bk_pdf.c
parentca37980e070dcd96d27d299bd4426858ec37ceae (diff)
downloadhalibut-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_pdf.c')
-rw-r--r--bk_pdf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 525e7d9..6daebc6 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -50,7 +50,6 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
int font_index;
font_encoding *fe;
page_data *page;
- int pageno;
FILE *fp;
char *filename;
paragraph *p;
@@ -427,7 +426,6 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
/*
* Create and render the individual pages.
*/
- pageno = 0;
for (page = doc->pages; page; page = page->next) {
object *opage, *cstr;
rect *r;