|
From: Andre R. <and...@us...> - 2006-02-08 20:31:44
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv331/Common/source Modified Files: OpenTransportNetEvents.c about.c filemp3.c scripts.c Log Message: Eliminate Xcode 1.5 compiler warnings about uninitialized variables. Index: scripts.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/scripts.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** scripts.c 5 Feb 2006 16:00:31 -0000 1.5 --- scripts.c 8 Feb 2006 20:31:36 -0000 1.6 *************** *** 2426,2430 **** long lastlnum = (**hd).lastlnum; long lnum = (**hn).lnum; ! short diff; //shellshorteventloop (); /*suck up and process any waiting events*/ --- 2426,2430 ---- long lastlnum = (**hd).lastlnum; long lnum = (**hn).lnum; ! short diff = 0; //shellshorteventloop (); /*suck up and process any waiting events*/ Index: filemp3.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/filemp3.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** filemp3.c 20 Dec 2005 22:17:15 -0000 1.4 --- filemp3.c 8 Feb 2006 20:31:36 -0000 1.5 *************** *** 389,393 **** tympeginfostruct mp3; long ix = 0; ! long oldpos, header, ctbytes, ctframes; Handle h = nil; unsigned char c1, c2; --- 389,394 ---- tympeginfostruct mp3; long ix = 0; ! long header = 0; ! long oldpos, ctbytes, ctframes; Handle h = nil; unsigned char c1, c2; Index: about.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/about.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** about.c 8 Feb 2006 19:13:44 -0000 1.8 --- about.c 8 Feb 2006 20:31:36 -0000 1.9 *************** *** 279,286 **** ReleaseIconRef (iconref); - } /*if*/ ! if (ec == noErr) ! return; #endif --- 279,286 ---- ReleaseIconRef (iconref); ! if (ec == noErr) ! return; ! } /*if*/ #endif Index: OpenTransportNetEvents.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/OpenTransportNetEvents.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** OpenTransportNetEvents.c 24 Jan 2005 02:17:23 -0000 1.8 --- OpenTransportNetEvents.c 8 Feb 2006 20:31:36 -0000 1.9 *************** *** 3926,3930 **** /* Read from a stream */ ! OTResult result; OTFlags junkFlags; EndpointRecordRef epref = (EndpointRecordRef) stream; --- 3926,3930 ---- /* Read from a stream */ ! OTResult result = kOTNoError; OTFlags junkFlags; EndpointRecordRef epref = (EndpointRecordRef) stream; *************** *** 4038,4042 **** EndpointRecordRef epref = (EndpointRecordRef) stream; ! OTResult result; long ix = 0; boolean doLeave = false; --- 4038,4042 ---- EndpointRecordRef epref = (EndpointRecordRef) stream; ! OTResult result = kOTNoError; long ix = 0; boolean doLeave = false; |