Browse code

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

Diego Biurrun authored on 2009/07/31 06:21:30
Showing 1 changed files
... ...
@@ -180,7 +180,7 @@ static void sha256_transform(uint32_t *state, const uint8_t buffer[64])
180 180
 {
181 181
     unsigned int i, a, b, c, d, e, f, g, h;
182 182
     uint32_t block[64];
183
-    uint32_t T1, T2;
183
+    uint32_t T1, av_unused(T2);
184 184
 
185 185
     a = state[0];
186 186
     b = state[1];