Remove unneeded property type check
This commit is contained in:
parent
cddcc4f406
commit
4644ac99fa
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue