[vlc-devel] commit: cpu: Don't warn if we don't support altivec. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 13 01:48:53 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 01:49:14 2008 +0200| [2e32646b32764bb4cd4eb446fdef087eed3cc71a] | committer: Pierre d'Herbemont 

cpu: Don't warn if we don't support altivec.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e32646b32764bb4cd4eb446fdef087eed3cc71a
---

 src/misc/cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 124876d..8636ee6 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -294,6 +294,8 @@ uint32_t CPUCapabilities( void )
     }
 
     signal( SIGILL, pf_sigill );
+#   else
+    (void)SigHandler; /* Don't complain about dead code here */
 #   endif
 
     return i_capabilities;




More information about the vlc-devel mailing list