* tools/tiffgt.c: Fix warnings about unused parameters.
This commit is contained in:
parent
e501767856
commit
3b48ce4c7b
@ -1,5 +1,7 @@
|
|||||||
2014-12-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
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.
|
* libtiff/tif_stream.cxx: Fix warnings about unused parameters.
|
||||||
|
|
||||||
2014-12-25 Even Rouault <even.rouault@spatialys.com>
|
2014-12-25 Even Rouault <even.rouault@spatialys.com>
|
||||||
|
@ -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
|
* Copyright (c) 1988-1997 Sam Leffler
|
||||||
@ -306,6 +306,8 @@ raster_reshape(int win_w, int win_h)
|
|||||||
static void
|
static void
|
||||||
raster_keys(unsigned char key, int x, int y)
|
raster_keys(unsigned char key, int x, int y)
|
||||||
{
|
{
|
||||||
|
(void) x;
|
||||||
|
(void) y;
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case 'b': /* photometric MinIsBlack */
|
case 'b': /* photometric MinIsBlack */
|
||||||
photo = PHOTOMETRIC_MINISBLACK;
|
photo = PHOTOMETRIC_MINISBLACK;
|
||||||
@ -351,6 +353,8 @@ raster_keys(unsigned char key, int x, int y)
|
|||||||
static void
|
static void
|
||||||
raster_special(int key, int x, int y)
|
raster_special(int key, int x, int y)
|
||||||
{
|
{
|
||||||
|
(void) x;
|
||||||
|
(void) y;
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case GLUT_KEY_PAGE_UP: /* previous logical image */
|
case GLUT_KEY_PAGE_UP: /* previous logical image */
|
||||||
if (TIFFCurrentDirectory(tif) > 0) {
|
if (TIFFCurrentDirectory(tif) > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user