diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 21:50:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 21:50:49 (GMT) |
commit | 5f41fe03ca0abfe43e386426ce942414d8602706 (patch) | |
tree | deed3c4a4026f88db0bc45c25725d85d5439639d /Utilities/cmbzip2/bzlib.c | |
parent | 85912a37772b9ceea1ef3b22b0ed9d1c94e9f5b4 (diff) | |
download | CMake-5f41fe03ca0abfe43e386426ce942414d8602706.zip CMake-5f41fe03ca0abfe43e386426ce942414d8602706.tar.gz CMake-5f41fe03ca0abfe43e386426ce942414d8602706.tar.bz2 |
Fix warnings for unused variables
Diffstat (limited to 'Utilities/cmbzip2/bzlib.c')
-rw-r--r-- | Utilities/cmbzip2/bzlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmbzip2/bzlib.c b/Utilities/cmbzip2/bzlib.c index baed288..aeecef1 100644 --- a/Utilities/cmbzip2/bzlib.c +++ b/Utilities/cmbzip2/bzlib.c @@ -102,6 +102,7 @@ static void* default_bzalloc ( void* opaque, Int32 items, Int32 size ) { void* v = malloc ( items * size ); + (void)opaque; return v; } @@ -109,6 +110,7 @@ static void default_bzfree ( void* opaque, void* addr ) { if (addr != NULL) free ( addr ); + (void)opaque; } @@ -1505,6 +1507,7 @@ int BZ_API(BZ2_bzwrite) (BZFILE* b, void* buf, int len ) /*---------------------------------------------------*/ int BZ_API(BZ2_bzflush) (BZFILE *b) { + (void) b; /* do nothing now... */ return 0; } |