From 7a845019c1f12e2a096053d890f2b52e06788fc5 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 21 Jan 2009 23:55:51 +0000 Subject: [PATCH] Avoid unused variable warning when compiling DES test program. Originally committed as revision 16715 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/des.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavutil/des.c b/libavutil/des.c index 51d73a3c1e..b851552790 100644 --- a/libavutil/des.c +++ b/libavutil/des.c @@ -291,7 +291,10 @@ static uint64_t rand64(void) { } int main(void) { - int i, j; + int i; +#ifdef GENTABLES + int j; +#endif struct timeval tv; uint64_t key; uint64_t data;