diff --git a/ChangeLog b/ChangeLog index 05fd41b3..87bcf7c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-12-26 Bob Friesenhahn + * tools/tiffgt.c: Fix warnings about unused parameters. + * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 2014-12-25 Even Rouault diff --git a/tools/tiffgt.c b/tools/tiffgt.c index de420396..3907d302 100644 --- a/tools/tiffgt.c +++ b/tools/tiffgt.c @@ -1,4 +1,4 @@ -/* $Id: tiffgt.c,v 1.10 2010-07-01 15:56:56 dron Exp $ */ +/* $Id: tiffgt.c,v 1.11 2014-12-26 16:06:41 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -306,6 +306,8 @@ raster_reshape(int win_w, int win_h) static void raster_keys(unsigned char key, int x, int y) { + (void) x; + (void) y; switch (key) { case 'b': /* photometric MinIsBlack */ photo = PHOTOMETRIC_MINISBLACK; @@ -351,6 +353,8 @@ raster_keys(unsigned char key, int x, int y) static void raster_special(int key, int x, int y) { + (void) x; + (void) y; switch (key) { case GLUT_KEY_PAGE_UP: /* previous logical image */ if (TIFFCurrentDirectory(tif) > 0) {