diff mbox series

[FFmpeg-devel,03/20] avutil/md5: Avoid av_unused variable

Message ID AM7PR03MB66600139B58E63F2E9D192128FAB9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 03a0dbaff34222970960f0df9f92b818005ee03f
Headers show
Series [FFmpeg-devel,01/20] libpostproc/postprocess_template: Don't reimplement FFSWAP | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 1, 2021, 9:08 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavutil/md5.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Paul B Mahol Oct. 2, 2021, 3:02 p.m. UTC | #1
ok
diff mbox series

Patch

diff --git a/libavutil/md5.c b/libavutil/md5.c
index 88596203c1..0170d8dd3f 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -100,7 +100,6 @@  static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
 
 static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks)
 {
-    int i av_unused;
     const uint32_t *X;
     uint32_t a, b, c, d, t;
 
@@ -113,7 +112,7 @@  static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks)
         X = (const uint32_t *)src + n * 16;
 
 #if CONFIG_SMALL
-        for (i = 0; i < 64; i++) {
+        for (int i = 0; i < 64; i++) {
             CORE(i, a, b, c, d);
             t = d;
             d = c;