]> git.sesse.net Git - vlc/commitdiff
motion: We really want an assignation here. Put parenthesis. (Kill a warning).
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 16:19:09 +0000 (18:19 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 16:38:21 +0000 (18:38 +0200)
modules/control/motion.c

index 03a011192d2e3cabfc315bc3d965fb00b14bdf71..52e6d0998da449b045cd406061cf6553bb6c13d3 100644 (file)
@@ -145,7 +145,7 @@ int Open ( vlc_object_t *p_this )
         }
     }
 #ifdef __APPLE__
-    else if( p_intf->p_sys->unimotion_hw = detect_sms() )
+    else if((p_intf->p_sys->unimotion_hw = detect_sms()))
         p_intf->p_sys->sensor = UNIMOTION_SENSOR;
 #endif
     else