[Cmake-commits] [cmake-commits] king committed bzlib.c 1.3 1.4
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Nov 4 14:43:53 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmbzip2
In directory public:/mounts/ram/cvs-serv27468/Utilities/cmbzip2
Modified Files:
bzlib.c
Log Message:
bzip2: Restore fix for unused variables
The commit "bzip2: Disable Borland warnings" accidentally reverted
changes from commit "Fix warnings for unused variables". This restores
them.
Index: bzlib.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmbzip2/bzlib.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** bzlib.c 4 Nov 2009 18:09:47 -0000 1.3
--- bzlib.c 4 Nov 2009 19:43:51 -0000 1.4
***************
*** 103,106 ****
--- 103,107 ----
{
void* v = malloc ( items * size );
+ (void)opaque;
return v;
}
***************
*** 110,113 ****
--- 111,115 ----
{
if (addr != NULL) free ( addr );
+ (void)opaque;
}
***************
*** 1506,1509 ****
--- 1508,1512 ----
int BZ_API(BZ2_bzflush) (BZFILE *b)
{
+ (void) b;
/* do nothing now... */
return 0;
More information about the Cmake-commits
mailing list