Skip to content
This repository
Browse code

[cosmetic] rename non-member var

  • Loading branch information...
commit 402e7f5cce78acded0f32a4fb3a0388357ebff5e 1 parent e3e17ef
authored t-nelson committed
6  xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp
@@ -221,9 +221,9 @@ void CPeripheralBusUSB::Clear(void)
221 221
 
222 222
 bool CPeripheralBusUSB::WaitForUpdate()
223 223
 {
224  
-  int m_udevFd = udev_monitor_get_fd(m_udevMon);
  224
+  int udevFd = udev_monitor_get_fd(m_udevMon);
225 225
 
226  
-  if (m_udevFd < 0)
  226
+  if (udevFd < 0)
227 227
   {
228 228
     CLog::Log(LOGERROR, "%s - get udev monitor", __FUNCTION__);
229 229
     return false;
@@ -231,7 +231,7 @@ bool CPeripheralBusUSB::WaitForUpdate()
231 231
 
232 232
   /* poll for udev changes */
233 233
   struct pollfd pollFd;
234  
-  pollFd.fd = m_udevFd;
  234
+  pollFd.fd = udevFd;
235 235
   pollFd.events = POLLIN;
236 236
   int iPollResult;
237 237
   while (!m_bStop && ((iPollResult = poll(&pollFd, 1, 100)) <= 0))

0 notes on commit 402e7f5

Please sign in to comment.
Something went wrong with that request. Please try again.