fix clang complain (nw)

This commit is contained in:
Miodrag Milanovic 2016-03-31 21:20:32 +02:00
parent 1ec2f972d9
commit 3b5b03041d

View File

@ -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;
}