* tools/tiffgt.c: Fix warnings about unused parameters.

This commit is contained in:
Bob Friesenhahn 2014-12-26 16:06:41 +00:00
parent e501767856
commit 3b48ce4c7b
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2014-12-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tools/tiffgt.c: Fix warnings about unused parameters.
* libtiff/tif_stream.cxx: Fix warnings about unused parameters.
2014-12-25 Even Rouault <even.rouault@spatialys.com>

View File

@ -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) {