Nothing returns false.

This commit is contained in:
Steve Checkoway
2006-11-28 17:57:16 +00:00
parent 73832dfafd
commit 0c21055858
4 changed files with 7 additions and 12 deletions
+1 -6
View File
@@ -55,12 +55,7 @@ bool HIDDevice::Open( io_object_t device )
vid = 0;
if( !IntValue(pidRef, pid) )
pid = 0;
if( !SupportsVidPid(vid, pid) )
{
CFRelease( properties );
return false;
}
InitDevice( vid, pid );
if( object && CFGetTypeID(object) == CFStringGetTypeID() )
m_sDescription = CFStringGetCStringPtr( CFStringRef(object), CFStringGetSystemEncoding() );