Module: wine Branch: master Commit: ff4047a956ab6da62b11ed765b9dd636e06af5ff URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff4047a956ab6da62b11ed765b...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Tue Jan 12 13:52:23 2010 +0100
dinput: Don't check a parameter twice (Coccinelle).
---
dlls/dinput/joystick_osx.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/dinput/joystick_osx.c b/dlls/dinput/joystick_osx.c index 57a8559..bc6908b 100644 --- a/dlls/dinput/joystick_osx.c +++ b/dlls/dinput/joystick_osx.c @@ -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;