Commit ff4047a9 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

dinput: Don't check a parameter twice (Coccinelle).

parent 46abd44f
......@@ -257,9 +257,6 @@ static int get_osx_device_name(int id, char *name, int length)
tIOHIDDeviceRef = ( IOHIDDeviceRef ) CFArrayGetValueAtIndex( gDevices, id );
if (!tIOHIDDeviceRef)
return 0;
if (name)
name[0] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment