]> git.sesse.net Git - ffmpeg/commitdiff
lavu/internal: Replace an empty loop with "do {}".
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 17 Dec 2018 19:33:24 +0000 (20:33 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 19 Dec 2018 14:46:29 +0000 (15:46 +0100)
Silences a clang warning when not compiling for x86:
libswscale/utils.c:345:13: warning: while loop has empty body

Suggested-by: Nicolas George
libavutil/internal.h

index 06bd561e82c0cf8a6106528a3a59e1dc77279c1d..4acbcf56cb59844264e796cb2585527ef56eeb27 100644 (file)
@@ -52,7 +52,7 @@
 #endif
 
 #ifndef emms_c
-#   define emms_c() while(0)
+#   define emms_c() do {} while(0)
 #endif
 
 #ifndef attribute_align_arg