From e6b35abee746f781a84ca51cb48315c7cf61bc8b Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 9 Jan 2013 12:26:21 +0000 Subject: [PATCH] drop c++ style comments --- ykcore/ykcore_osx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ykcore/ykcore_osx.c b/ykcore/ykcore_osx.c index b070bea..281498b 100644 --- a/ykcore/ykcore_osx.c +++ b/ykcore/ykcore_osx.c @@ -72,9 +72,7 @@ static int _ykosx_getIntProperty( IOHIDDeviceRef dev, CFStringRef key ) { int result = 0; CFTypeRef tCFTypeRef = IOHIDDeviceGetProperty( dev, key ); if ( tCFTypeRef ) { - // if this is a number if ( CFNumberGetTypeID( ) == CFGetTypeID( tCFTypeRef ) ) { - // get its value CFNumberGetValue( ( CFNumberRef ) tCFTypeRef, kCFNumberSInt32Type, &result ); } } -- 2.39.5