mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
fix clang complain (nw)
This commit is contained in:
parent
1ec2f972d9
commit
3b5b03041d
@ -92,8 +92,11 @@ int DevicesWindowModel::rowCount(const QModelIndex &parent) const
|
||||
|
||||
device_t *dparent = static_cast<device_t *>(parent.internalPointer());
|
||||
int count = 0;
|
||||
for (device_t &child : dparent->subdevices())
|
||||
for (device_t &child : dparent->subdevices())
|
||||
{
|
||||
(void)child;
|
||||
count++;
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user