diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-10 21:53:13 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-10 21:53:13 +0000 |
| commit | 3fe4350a01c38608497a7f2d97df59ffa7ec132f (patch) | |
| tree | 87dd203119227cf7b65b848f795abb1e18708fa6 /libpcsxcore | |
| parent | 3720dc59ca7c9bb98e952ff9c3cd8d88f03b9f93 (diff) | |
| download | pcsxr-3fe4350a01c38608497a7f2d97df59ffa7ec132f.tar.gz | |
Fixing an uninitialized variable pointed out by Xcode's Static Analyser.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82191 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rwxr-xr-x | libpcsxcore/cdriso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index c351c226..2f317da3 100755 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -1288,7 +1288,7 @@ static long CALLBACK ISOgetStatus(struct CdrStat *stat) { // read CDDA sector into buffer long CALLBACK ISOreadCDDA(unsigned char m, unsigned char s, unsigned char f, unsigned char *buffer) { unsigned char msf[3] = {m, s, f}; - unsigned int file, track, track_start; + unsigned int file, track, track_start = 0; int ret; cddaCurPos = msf2sec(msf); |
