From 2df84f2887dcd36fc4a0568b5e43f9c4b131f7ca Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 19 Jan 2016 18:36:55 +0100 Subject: [PATCH] (__MACH__) Re-set 'len' again after usage --- performance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/performance.c b/performance.c index 101caa9170..e571dc983b 100644 --- a/performance.c +++ b/performance.c @@ -550,6 +550,7 @@ uint64_t retro_get_cpu_features(void) int has_neon, has_altivec; size_t len = sizeof(size_t); sysctlbyname("hw.optional.altivec", &has_altivec, &len, NULL, 0); + len = sizeof(size_t); sysctlbyname("hw.optional.neon", &has_neon, &len, NULL, 0); if (has_neon)