[vlc-devel] commit: motion: We really want an assignation here. Put	parenthesis. ( Kill a warning). (Pierre d'Herbemont )
    git version control 
    git at videolan.org
       
    Thu Aug 20 18:38:28 CEST 2009
    
    
  
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 18:19:09 2009 +0200| [3c6c73d5fed7f5103f16d94bae68cbc90f6db264] | committer: Pierre d'Herbemont 
motion: We really want an assignation here. Put parenthesis. (Kill a warning).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c6c73d5fed7f5103f16d94bae68cbc90f6db264
---
 modules/control/motion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/motion.c b/modules/control/motion.c
index 03a0111..52e6d09 100644
--- a/modules/control/motion.c
+++ b/modules/control/motion.c
@@ -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
    
    
More information about the vlc-devel
mailing list