[cosmetic] rename non-member var
authorCory Fields <theuni-nospam-@xbmc.org>
Wed, 19 Sep 2012 01:10:32 +0000 (21:10 -0400)
committerTrent Nelson <trent.a.b.nelson@gmail.com>
Fri, 13 Sep 2013 03:53:21 +0000 (23:53 -0400)
xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp

index 724717f..6a34475 100644 (file)
@@ -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))