diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-23 19:30:54 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-23 19:30:54 +0000 |
| commit | e81974f7ecc531f43d42180985b9cb37ffb96934 (patch) | |
| tree | 6ab43adaebd01ae091df2f60bf2bb26ccbf2e092 /libpcsxcore/ix86_64 | |
| parent | bda521f3a4c42277160381ddfbfb8e42b7e87274 (diff) | |
Fixing some unitialized variables caught by Clang. Also fixing a divide by zero error
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79981 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/ix86_64')
| -rw-r--r-- | libpcsxcore/ix86_64/ix86_cpudetect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/ix86_64/ix86_cpudetect.c b/libpcsxcore/ix86_64/ix86_cpudetect.c index dfbde264..6bf0bb5b 100644 --- a/libpcsxcore/ix86_64/ix86_cpudetect.c +++ b/libpcsxcore/ix86_64/ix86_cpudetect.c @@ -212,8 +212,8 @@ void cpudetectInit( void ) s8 AMDspeedString[10];
int cputype=0; // Cpu type
//AMD 64 STUFF
- u32 x86_64_8BITBRANDID;
- u32 x86_64_12BITBRANDID;
+ u32 x86_64_8BITBRANDID = 0;
+ u32 x86_64_12BITBRANDID = 0;
memset( cpuinfo.x86ID, 0, sizeof( cpuinfo.x86ID ) );
cpuinfo.x86Family = 0;
cpuinfo.x86Model = 0;
|
