From 3b5b03041d3fed314d78107ab4940db89811a40f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 31 Mar 2016 21:20:32 +0200 Subject: [PATCH] fix clang complain (nw) --- src/osd/modules/debugger/qt/deviceswindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/osd/modules/debugger/qt/deviceswindow.cpp b/src/osd/modules/debugger/qt/deviceswindow.cpp index f3e4c25c586..e14e552fc81 100644 --- a/src/osd/modules/debugger/qt/deviceswindow.cpp +++ b/src/osd/modules/debugger/qt/deviceswindow.cpp @@ -92,8 +92,11 @@ int DevicesWindowModel::rowCount(const QModelIndex &parent) const device_t *dparent = static_cast(parent.internalPointer()); int count = 0; - for (device_t &child : dparent->subdevices()) + for (device_t &child : dparent->subdevices()) + { + (void)child; count++; + } return count; }