Coverity #1007: Fix a silly null check.

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

View file

@ -1,3 +1,8 @@
2006-04-14 Adam Jackson <ajax@freedesktop.org>
* hw/dmx/input/dmxinputinit.c:
Coverity #1007: Fix a silly null check.
2006-04-14 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/os-support/Makefile.am:

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