From 4644ac99fa32bc10b27784c5f9530f2cf0aadab0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 31 May 2023 08:27:27 -0700
Subject: [PATCH] Remove unneeded property type check
---
src/hidapi/mac/hid.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/hidapi/mac/hid.c b/src/hidapi/mac/hid.c
index 56d981f19232..779c2c9e1a80 100644
--- a/src/hidapi/mac/hid.c
+++ b/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;