xxx: gcc avoid bogus ssp warning

This commit is contained in:
christos 2017-01-08 05:20:51 +00:00
parent b0642a4b8a
commit 9ab931861e

View File

@ -2513,7 +2513,7 @@ vchiq_dump_service_use_state(VCHIQ_STATE_T *state)
VCHIQ_ARM_STATE_T *arm_state = vchiq_platform_get_arm_state(state);
int i, j = 0;
/* Only dump 64 services */
static const int local_max_services = 64;
#define local_max_services 64
/* If there's more than 64 services, only dump ones with
* non-zero counts */
int only_nonzero = 0;