Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[cosmetic] rename non-member var

  • Loading branch information...
commit 402e7f5cce78acded0f32a4fb3a0388357ebff5e 1 parent e3e17ef
Cory Fields authored Trent Nelson committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp
View
6 xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp
@@ -221,9 +221,9 @@ void CPeripheralBusUSB::Clear(void)
bool CPeripheralBusUSB::WaitForUpdate()
{
- int m_udevFd = udev_monitor_get_fd(m_udevMon);
+ int udevFd = udev_monitor_get_fd(m_udevMon);
- if (m_udevFd < 0)
+ if (udevFd < 0)
{
CLog::Log(LOGERROR, "%s - get udev monitor", __FUNCTION__);
return false;
@@ -231,7 +231,7 @@ bool CPeripheralBusUSB::WaitForUpdate()
/* poll for udev changes */
struct pollfd pollFd;
- pollFd.fd = m_udevFd;
+ pollFd.fd = udevFd;
pollFd.events = POLLIN;
int iPollResult;
while (!m_bStop && ((iPollResult = poll(&pollFd, 1, 100)) <= 0))
Please sign in to comment.
Something went wrong with that request. Please try again.