[FFmpeg-cvslog] libavutil/tests/md5: Remove 'volatile workaround' to avoid warnings

softworkz git at videolan.org
Wed Jun 8 23:32:08 EEST 2022


ffmpeg | branch: master | softworkz <softworkz at hotmail.com> | Sat May 28 15:07:00 2022 +0000| [22ab2a375dcac2c9247f099cfef71ca9236a72b1] | committer: Marton Balint

libavutil/tests/md5: Remove 'volatile workaround' to avoid warnings

Those are always showing up on Patchwork when FATE tests are failing,
covering some possibly more useful information.

The volatile keyword was used as a workaround for an eight year old
clang version.

Signed-off-by: softworkz <softworkz at hotmail.com>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22ab2a375dcac2c9247f099cfef71ca9236a72b1
---

 libavutil/tests/md5.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/tests/md5.c b/libavutil/tests/md5.c
index 42e4538e0a..0ac8f2834e 100644
--- a/libavutil/tests/md5.c
+++ b/libavutil/tests/md5.c
@@ -33,8 +33,8 @@ int main(void)
 {
     uint8_t md5val[16];
     int i;
-    volatile uint8_t in[1000]; // volatile to workaround http://llvm.org/bugs/show_bug.cgi?id=20849
-    // FIXME remove volatile once it has been fixed and all fate clients are updated
+
+    uint8_t in[1000];
 
     for (i = 0; i < 1000; i++)
         in[i] = i * i;



More information about the ffmpeg-cvslog mailing list