vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Feb 11 15:12:43 2018 +0200| [0df6ab27cb0fb905bf18e53f1112aeb27e5338bb] | committer: Thomas Guillem
Remove unused variable (cherry picked from commit af19995e359f8e38afbb65b7b6b8e989c24c01d1) Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0df6ab27cb0fb905bf18e53f1112aeb27e5338bb --- 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 50885aee74..d7496975dc 100644 --- a/modules/video_chroma/copy.c +++ b/modules/video_chroma/copy.c @@ -1026,12 +1026,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
