From: Klas Lindfors Date: Wed, 9 Jan 2013 12:26:21 +0000 (+0000) Subject: drop c++ style comments X-Git-Tag: v1.11.2^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6b35abee746f781a84ca51cb48315c7cf61bc8b;p=yubikey-personalization drop c++ style comments --- 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 ); } }