| Previous | 15994 Revisions | Next |
| r2063 Saturday 22nd March, 2008 at 17:10:15 UTC by Nathan Woods |
|---|
| Fixed breakage introduced in r2060 |
| [src/mess] | device.c |
| r2062 | r2063 | |
|---|---|---|
| 363 | 363 | |
| 364 | 364 | static const struct IODevice *filter_device_array_termination(const struct IODevice *dev) |
| 365 | 365 | { |
| 366 | return (dev->type < IO_COUNT) ? dev : NULL; | |
| 366 | return ((dev != NULL) && (dev->type < IO_COUNT)) ? dev : NULL; | |
| 367 | 367 | } |
| 368 | 368 | |
| 369 | 369 |
| Previous | 15994 Revisions | Next |