From a32872276dfad913aa258a1307c2aaf3aacdcfa7 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 28 Jan 2012 14:37:08 +0000 Subject: [PATCH] kplib.c without asm: I see an uninitialized access here, valgrind does not? git-svn-id: https://svn.eduke32.com/eduke32@2293 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/kplib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/kplib.c b/polymer/eduke32/build/src/kplib.c index 652d0875a..e07ad5d4a 100644 --- a/polymer/eduke32/build/src/kplib.c +++ b/polymer/eduke32/build/src/kplib.c @@ -319,7 +319,7 @@ static inline int32_t bitrev(int32_t b, int32_t c) static inline int32_t testflag(int32_t c) { UNREFERENCED_PARAMETER(c); return(0); } -static inline void cpuid(int32_t a, int32_t *s) { UNREFERENCED_PARAMETER(a); UNREFERENCED_PARAMETER(s);} +static inline void cpuid(int32_t a, int32_t *s) { UNREFERENCED_PARAMETER(a); s[0]=0; } #endif