diff options
author | Tom Rondeau | 2011-01-23 15:21:18 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-01-23 15:21:18 -0500 |
commit | 52c9710d9335dc5f0c7bcd0b4ffa076866fe3968 (patch) | |
tree | 07a262a5482dc9c040a2f8ba5bb37ccf76457a82 /gnuradio-core | |
parent | 606681bd0ab4abf43e0c3eab3c847a198269ca88 (diff) | |
download | gnuradio-52c9710d9335dc5f0c7bcd0b4ffa076866fe3968.tar.gz gnuradio-52c9710d9335dc5f0c7bcd0b4ffa076866fe3968.tar.bz2 gnuradio-52c9710d9335dc5f0c7bcd0b4ffa076866fe3968.zip |
Forced initialization of arrays to avoid warnings.
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/filter/gr_cpu_x86.cc | 8 |
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]; } |