Browse Source

Remove unneeded property type check

Sam Lantinga 2 years ago
parent
commit
4644ac99fa
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/hidapi/mac/hid.c

+ 0 - 3
src/hidapi/mac/hid.c

@@ -383,9 +383,6 @@ static int get_string_property(IOHIDDeviceRef device, CFStringRef prop, wchar_t
 	if (!len)
 		return 0;
 
-	if (CFGetTypeID(prop) != CFStringGetTypeID())
-		return 0;
-
 	str = (CFStringRef) IOHIDDeviceGetProperty(device, prop);
 
 	buf[0] = 0;