summaryrefslogtreecommitdiffstats
path: root/Utilities/cmbzip2/bzlib.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-04 18:09:50 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-04 18:09:50 (GMT)
commit60855f620bfa6213802d48784c321011f7882a91 (patch)
treec893fd8409dbacb5075e75edc4c2cc64b8d05e42 /Utilities/cmbzip2/bzlib.c
parentccd831c559b0dfbd94a0ce28c409c4dd97dbf29d (diff)
downloadCMake-60855f620bfa6213802d48784c321011f7882a91.zip
CMake-60855f620bfa6213802d48784c321011f7882a91.tar.gz
CMake-60855f620bfa6213802d48784c321011f7882a91.tar.bz2
bzip2: Disable Borland warnings
We disable warnings to silence them while making minimal changes to third-party code.
Diffstat (limited to 'Utilities/cmbzip2/bzlib.c')
-rw-r--r--Utilities/cmbzip2/bzlib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Utilities/cmbzip2/bzlib.c b/Utilities/cmbzip2/bzlib.c
index aeecef1..baed288 100644
--- a/Utilities/cmbzip2/bzlib.c
+++ b/Utilities/cmbzip2/bzlib.c
@@ -102,7 +102,6 @@ static
void* default_bzalloc ( void* opaque, Int32 items, Int32 size )
{
void* v = malloc ( items * size );
- (void)opaque;
return v;
}
@@ -110,7 +109,6 @@ static
void default_bzfree ( void* opaque, void* addr )
{
if (addr != NULL) free ( addr );
- (void)opaque;
}
@@ -1507,7 +1505,6 @@ 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;
}