Commit f15ceaff authored by Martin Flöser's avatar Martin Flöser

Drop unused variable UdevMonitor::m_udev

Credits to clang for finding unused private fields.
parent bca8777a
......@@ -247,8 +247,7 @@ bool UdevDevice::hasProperty(const char *key, const char *value)
}
UdevMonitor::UdevMonitor(Udev *udev)
: m_udev(udev)
, m_monitor(udev_monitor_new_from_netlink(*udev, "udev"))
: m_monitor(udev_monitor_new_from_netlink(*udev, "udev"))
{
}
......
......@@ -69,7 +69,6 @@ public:
UdevDevice::Ptr getDevice();
private:
Udev *m_udev;
udev_monitor *m_monitor;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment