From 3fe4350a01c38608497a7f2d97df59ffa7ec132f Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 10 Jan 2013 21:53:13 +0000 Subject: 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 --- libpcsxcore/cdriso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpcsxcore') 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); -- cgit v1.2.3