Coverity #1007: Fix a silly null check.

This commit is contained in:
Adam Jackson 2006-04-14 23:08:10 +00:00
parent 6d29f65931
commit d01e0956a8
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-15 Luc Verhaegen <libv@skynet.be>
* hw/xfree86/utils/cvt/cvt.c: (PrintUsage):

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