|
From: John M M. <jo...@us...> - 2004-08-03 02:41:40
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SerialPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27490/squeak/platforms/Mac OS/plugins/SerialPlugin Modified Files: sqMacSerialPort.c Log Message: 3.7.4b3 Compiler warning reduction process. Return 0 if required, flag or removed unused variables, fix ambigous warning messages Index: sqMacSerialPort.c =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SerialPlugin/sqMacSerialPort.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sqMacSerialPort.c 1 Mar 2002 00:18:31 -0000 1.3 --- sqMacSerialPort.c 3 Aug 2004 02:41:31 -0000 1.4 *************** *** 51,54 **** --- 51,55 ---- serialPortClose(i); } + return 1; } *************** *** 119,123 **** CopyPascalStringToC((void *) *(serialPtr->inputDriverName),inName); CopyPascalStringToC((void *) *(serialPtr->outputDriverName),outName); ! return; } count++; --- 120,124 ---- CopyPascalStringToC((void *) *(serialPtr->inputDriverName),inName); CopyPascalStringToC((void *) *(serialPtr->outputDriverName),outName); ! return 0; } count++; *************** *** 126,129 **** --- 127,131 ---- } #endif + return 0; } *************** *** 162,165 **** --- 164,168 ---- } #endif + return 0; } /*** Serial Port Functions ***/ *************** *** 172,176 **** if (!serialPortIsOpen(portNum)) { ! return; /* already closed */ } osErr = KillIO(outRefNum[portNum]); --- 175,179 ---- if (!serialPortIsOpen(portNum)) { ! return 0; /* already closed */ } osErr = KillIO(outRefNum[portNum]); *************** *** 190,193 **** --- 193,197 ---- outRefNum[portNum] = 0; #endif + return 0; } *************** *** 298,301 **** --- 302,306 ---- } #endif + return 0; } |