
Thread
2011.05.30 06:54 "[Tiff] [PATCH 3/5] tiff2pdf.c: remove decl+set of set-but-not-used local, "written"", by Jim Meyering
From: Jim Meyering <meyering@redhat.com>
---
tools/tiff2pdf.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c
index 9875bf7..958ed5e 100644
--- a/tools/tiff2pdf.c
+++ b/tools/tiff2pdf.c
@@ -563,7 +563,6 @@ int main(int argc, char** argv){
const char *outfilename = NULL;
T2P *t2p = NULL;
TIFF *input = NULL, *output = NULL;
- tsize_t written = 0;
int c, ret = EXIT_SUCCESS;
t2p = t2p_init();
@@ -764,7 +763,7 @@ int main(int argc, char** argv){
/*
* Write
*/
- written = t2p_write_pdf(t2p, input, output);
+ t2p_write_pdf(t2p, input, output);
if (t2p->t2p_error != 0) {
TIFFError(TIFF2PDF_MODULE,
"An error occurred creating output
PDF file");
--
1.7.5.2.660.g9f46c