summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-core/src/lib/filter/gr_cpu_x86.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/filter/gr_cpu_x86.cc b/gnuradio-core/src/lib/filter/gr_cpu_x86.cc
index 9be95235d..da970e133 100644
--- a/gnuradio-core/src/lib/filter/gr_cpu_x86.cc
+++ b/gnuradio-core/src/lib/filter/gr_cpu_x86.cc
@@ -34,28 +34,28 @@
static inline unsigned int cpuid_eax(unsigned int op)
{
- unsigned int regs[4];
+ unsigned int regs[4] = {0,0,0,0};
cpuid_x86 (op, regs);
return regs[0];
}
static inline unsigned int cpuid_ebx(unsigned int op)
{
- unsigned int regs[4];
+ unsigned int regs[4] = {0,0,0,0};
cpuid_x86 (op, regs);
return regs[1];
}
static inline unsigned int cpuid_ecx(unsigned int op)
{
- unsigned int regs[4];
+ unsigned int regs[4] = {0,0,0,0};
cpuid_x86 (op, regs);
return regs[2];
}
static inline unsigned int cpuid_edx(unsigned int op)
{
- unsigned int regs[4];
+ unsigned int regs[4] = {0,0,0,0};
cpuid_x86 (op, regs);
return regs[3];
}