diff options
| author | 2008-04-02 01:39:31 +0000 | |
|---|---|---|
| committer | 2008-04-02 01:39:31 +0000 | |
| commit | ff3b615c696cf60a27bc2066826d50113d328088 (patch) | |
| tree | 1da029c27ea9cbf0d1607cc20545980c9f592e9a /src | |
| parent | 704514c3519d62897edf193f0a58750d789bbdc6 (diff) | |
Removing false assertion; NULL is also DEVICE_TYPE_WILDCARD
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/devintrf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c index 359190fef8d..bcf0d844d11 100644 --- a/src/emu/devintrf.c +++ b/src/emu/devintrf.c @@ -203,8 +203,6 @@ const device_config *device_list_first(const device_config *listhead, device_typ { const device_config *curdev; - assert(type != NULL); - /* scan forward starting with the list head */ for (curdev = listhead; curdev != NULL; curdev = curdev->next) if (device_matches_type(curdev, type)) @@ -225,7 +223,6 @@ const device_config *device_list_next(const device_config *prevdevice, device_ty const device_config *curdev; assert(prevdevice != NULL); - assert(type != NULL); /* scan forward starting with the item after the previous one */ for (curdev = prevdevice->next; curdev != NULL; curdev = curdev->next) |
