aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/sha.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-07-30 21:21:30 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-30 21:21:30 +0000
commit8b4e7c28fbd76f519d65925fa898aa2b0cbfe0ea (patch)
tree70d50a1de62ad84c7c33d844deb2278b282c8004 /libavutil/sha.c
parent8b44de14d1fa363fa7fe18d015ead0017a0177c8 (diff)
downloadffmpeg-8b4e7c28fbd76f519d65925fa898aa2b0cbfe0ea.tar.gz
Mark conditionally used variable T2 as av_unused; avoids the warning:
libavutil/sha.c:183: warning: unused variable `T2' Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r--libavutil/sha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c
index 1f1de2c6e9..3107deeffe 100644
--- a/libavutil/sha.c
+++ b/libavutil/sha.c
@@ -180,7 +180,7 @@ static void sha256_transform(uint32_t *state, const uint8_t buffer[64])
{
unsigned int i, a, b, c, d, e, f, g, h;
uint32_t block[64];
- uint32_t T1, T2;
+ uint32_t T1, av_unused(T2);
a = state[0];
b = state[1];