mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
Coverity #1007: Fix a silly null check.
This commit is contained in:
parent
6d29f65931
commit
d01e0956a8
2 changed files with 5 additions and 1 deletions
|
|
@ -429,7 +429,6 @@ static int dmxDeviceOnOff(DeviceIntPtr pDevice, int what)
|
|||
int i;
|
||||
#endif
|
||||
|
||||
if (!dmxLocal) return BadImplementation;
|
||||
if (dmxInput->detached) return Success;
|
||||
|
||||
memset(&info, 0, sizeof(info));
|
||||
|
|
|
|||
Loading…
Reference in a new issue