Skip to content
Permalink
Browse files

Fixed unused variable compiler warnings on Mac OS X.

  • Loading branch information
icculus committed Oct 13, 2011
1 parent b359efc commit 18e82495cdb62d0cdef730b7cd4e6c17a0aa4f7a
Showing with 1 addition and 3 deletions.
  1. +0 −1 src/cdrom/macosx/CDPlayer.c
  2. +1 −2 src/video/quartz/SDL_QuartzEvents.m
@@ -140,7 +140,6 @@ int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD)
ByteCount actualRead;
CFDataRef dataRef = 0;
CFPropertyListRef propertyListRef = 0;
int i;
FSRefParam fsRefPB;
FSRef tocPlistFSRef;
FSRef rootRef;
@@ -78,7 +78,6 @@
#endif

void QZ_InitOSKeymap (_THIS) {
const void *KCHRPtr;
BOOL saw_layout = NO;
UInt32 state;
UInt32 value;
@@ -274,7 +273,7 @@ void QZ_InitOSKeymap (_THIS) {
#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1050)
if (!saw_layout) {
/* Get a pointer to the systems cached KCHR */
KCHRPtr = (void *)GetScriptManagerVariable(smKCHRCache);
const void *KCHRPtr = (const void *)GetScriptManagerVariable(smKCHRCache);
if (KCHRPtr)
{
/* Loop over all 127 possible scan codes */

0 comments on commit 18e8249

Please sign in to comment.