[vlc-commits] Remove unused variable

Rémi Denis-Courmont git at videolan.org
Sun Feb 11 14:31:59 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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
 



More information about the vlc-commits mailing list