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@hotmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
softworkz 2022-05-28 15:07:00 +00:00 committed by Marton Balint
parent b6c856b6e4
commit 22ab2a375d

View File

@ -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;