Coverity #1007: Fix a silly null check.

This commit is contained in:
Adam Jackson 2006-04-14 23:08:10 +00:00
commit d01e0956a8
2 changed files with 5 additions and 1 deletions

View file

@ -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));