tests/tiny_psnr: remove redundant initialization
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 13 Nov 2014 15:03:23 +0000 (16:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 13 Nov 2014 16:54:20 +0000 (17:54 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/tiny_psnr.c

index 6da177a..b35ed81 100644 (file)
@@ -180,8 +180,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes)
             switch (len) {
             case 1:
             case 2: {
-                int64_t a = buf[0][j];
-                int64_t b = buf[1][j];
+                int64_t a, b;
                 int dist;
                 if (len == 2) {
                     a = get_s16l(buf[0] + j);