Minor test changes to fix compile errors.
Corresponds to cl/87905735
R=rtoy@google.com
Review URL: https://webrtc-codereview.appspot.com/47439004
git-svn-id: http://webrtc.googlecode.com/svn/deps/third_party/openmax@8657 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/dl/sp/src/test/compare.c b/dl/sp/src/test/compare.c
index e369be4..e50a15c 100644
--- a/dl/sp/src/test/compare.c
+++ b/dl/sp/src/test/compare.c
@@ -47,7 +47,6 @@
for (k = 0; k < size; ++k) {
double x2;
double y2;
- double z2;
if (verbose > 255) {
printf("%4d: (%10d, %10d) (%10d, %10d)\n", k,
@@ -86,7 +85,6 @@
for (k = 0; k < size; ++k) {
double x2;
double y2;
- double z2;
if (verbose > 255) {
printf("%4d: (%10d, %10d) (%10d, %10d)\n", k,
@@ -172,7 +170,6 @@
for (k = 0; k < size; ++k) {
double x2;
double y2;
- double z2;
if (verbose > 255) {
printf("%4d: (%10g, %10g) (%10g, %10g)\n", k,
diff --git a/dl/sp/src/test/test_float_rfft.c b/dl/sp/src/test/test_float_rfft.c
index 3b37ece..f870999 100644
--- a/dl/sp/src/test/test_float_rfft.c
+++ b/dl/sp/src/test/test_float_rfft.c
@@ -134,7 +134,6 @@
OMX_FC32* y_true;
- OMX_INT n;
OMX_INT fft_spec_buffer_size;
OMXResult status;
OMXFFTSpec_R_F32 * fft_fwd_spec = NULL;
@@ -210,10 +209,8 @@
OMX_FC32* yTrue;
struct AlignedPtr* yTrueAligned;
- OMX_INT n;
OMX_INT fft_spec_buffer_size;
OMXResult status;
- OMXFFTSpec_R_F32 * fft_fwd_spec = NULL;
OMXFFTSpec_R_F32 * fft_inv_spec = NULL;
int fft_size;
diff --git a/dl/sp/src/test/test_util.c b/dl/sp/src/test/test_util.c
index a03b27c..928bb41 100644
--- a/dl/sp/src/test/test_util.c
+++ b/dl/sp/src/test/test_util.c
@@ -214,7 +214,7 @@
const OMX_SC32* array) {
int n;
- printf("%4s\t%10s.re[n]\t%10s.im[n]\n", "n", array_name);
+ printf("%4s\t%10s.re[n]\t%10s.im[n]\n", "n", array_name, array_name);
for (n = 0; n < count; ++n) {
printf("%4d\t%16d\t%16d\n", n, array[n].Re, array[n].Im);
}