soc: qcom: hab: make LA compilation pass

Due to GCC problem
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119),
it cause a warning in hab test code, this patch is a workaround
to avoid this warning. This can be reverted once the GCC issue is fixed.

Change-Id: I4d01920ef36cb42bae4dd9f331c518a38dfd9a5a
Signed-off-by: Chao Bi <chaobi@codeaurora.org>
This commit is contained in:
Chao Bi 2018-06-20 14:03:20 +08:00 committed by King Tam
parent 7bb3a011f8
commit 50c959b25e

View file

@ -40,7 +40,7 @@ static int hab_shmm_throughput_test(void)
register int sum;
register int *pp, *lastone;
int throughput[3][2] = {0};
int throughput[3][2] = { {0} };
int latency[6][PERF_TEST_ITERATION];
int ret = 0, tmp, size;