Drop unused variable UdevMonitor::m_udev
Credits to clang for finding unused private fields.
This commit is contained in:
parent
bca8777acd
commit
f15ceaffe6
2 changed files with 1 additions and 3 deletions
3
udev.cpp
3
udev.cpp
|
@ -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"))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
1
udev.h
1
udev.h
|
@ -69,7 +69,6 @@ public:
|
|||
UdevDevice::Ptr getDevice();
|
||||
|
||||
private:
|
||||
Udev *m_udev;
|
||||
udev_monitor *m_monitor;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue