vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Feb 11 
15:12:43 2018 +0200| [af19995e359f8e38afbb65b7b6b8e989c24c01d1] | committer: 
Rémi Denis-Courmont

Remove unused variable

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

 modules/video_chroma/copy.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index 626dc34f05..84cbd5b1da 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -1023,12 +1023,14 @@ int main(void)
 {
     alarm(10);
 
-    unsigned cpu = vlc_CPU();
 #ifndef COPY_TEST_NOOPTIM
+# ifndef __SSE2__
+    unsigned cpu = vlc_CPU();
+# endif
     if (!vlc_CPU_SSE2())
     {
         fprintf(stderr, "WARNING: could not test SSE\n");
-        return 0;
+        return 77;
     }
 #endif
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to