From 110ab30f171b6ee57e47e892846159a12b51680e Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Sat, 25 Feb 2012 20:41:26 -0500 Subject: [PATCH] Silence 'cont_###' set but not used warnings on MinGW From pbatard branch. Update copyright date on recently changed files. --- include/cdio/udf_time.h | 4 +--- lib/driver/MSWindows/aspi32.c | 2 +- lib/driver/MSWindows/win32_ioctl.c | 3 ++- lib/driver/cdio_assert.h | 2 +- lib/iso9660/rock.c | 3 ++- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/cdio/udf_time.h b/include/cdio/udf_time.h index 535a3db0..e93dbadb 100644 --- a/include/cdio/udf_time.h +++ b/include/cdio/udf_time.h @@ -1,7 +1,5 @@ /* - $Id: udf_time.h,v 1.5 2008/03/25 15:59:09 karl Exp $ - - Copyright (C) 2005, 2008 Rocky Bernstein + Copyright (C) 2005, 2008, 2012 Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/lib/driver/MSWindows/aspi32.c b/lib/driver/MSWindows/aspi32.c index ada1d6c3..66f15830 100644 --- a/lib/driver/MSWindows/aspi32.c +++ b/lib/driver/MSWindows/aspi32.c @@ -1,5 +1,5 @@ /* - Copyright (C) 2004, 2005, 2008, 2009, 2010, 2011 + Copyright (C) 2004, 2005, 2008, 2009, 2010, 2011, 2012 Rocky Bernstein This program is free software: you can redistribute it and/or modify diff --git a/lib/driver/MSWindows/win32_ioctl.c b/lib/driver/MSWindows/win32_ioctl.c index 02d15762..3e215f81 100755 --- a/lib/driver/MSWindows/win32_ioctl.c +++ b/lib/driver/MSWindows/win32_ioctl.c @@ -1,5 +1,6 @@ /* - Copyright (C) 2004, 2005, 2008, 2010, 2011 Rocky Bernstein + Copyright (C) 2004, 2005, 2008, 2010, 2011, 2012 + Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/lib/driver/cdio_assert.h b/lib/driver/cdio_assert.h index 43180518..8967e27d 100644 --- a/lib/driver/cdio_assert.h +++ b/lib/driver/cdio_assert.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2008, 2011 Rocky Bernstein + Copyright (C) 2008, 2011, 2012 Rocky Bernstein Copyright (C) 2000 Herbert Valerio Riedel This program is free software: you can redistribute it and/or modify diff --git a/lib/iso9660/rock.c b/lib/iso9660/rock.c index 6f97be0c..19238634 100644 --- a/lib/iso9660/rock.c +++ b/lib/iso9660/rock.c @@ -107,7 +107,8 @@ realloc_symlink(/*in/out*/ iso9660_stat_t *p_stat, uint8_t i_grow) #define CHECK_CE \ { cont_extent = from_733(*rr->u.CE.extent); \ cont_offset = from_733(*rr->u.CE.offset); \ - cont_size = from_733(*rr->u.CE.size); } + cont_size = from_733(*rr->u.CE.size); \ + (void)cont_extent; (void)cont_offset, (void)cont_size; } #define SETUP_ROCK_RIDGE(DE,CHR,LEN) \ { \