|
From: John M M. <jo...@us...> - 2004-08-03 02:41:32
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SecurityPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27470/squeak/platforms/Mac OS/plugins/SecurityPlugin Modified Files: sqMacSecurity.c Log Message: 3.7.4b3 Compiler warning reduction process. Return 0 if required, flag or removed unused variables, fix ambigous warning messages Index: sqMacSecurity.c =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SecurityPlugin/sqMacSecurity.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sqMacSecurity.c 2 Dec 2003 04:52:50 -0000 1.5 --- sqMacSecurity.c 3 Aug 2004 02:41:24 -0000 1.6 *************** *** 103,110 **** --- 103,112 ---- int ioCanGetFileTypeOfSize(char* pathString, int pathStringLength) { + #pragma unused(pathString,pathStringLength) return 1; /* of no importance here */ } int ioCanSetFileTypeOfSize(char* pathString, int pathStringLength) { + #pragma unused(pathString,pathStringLength) return 1; /* of no importance here */ } *************** *** 113,116 **** --- 115,119 ---- int ioDisableFileAccess(void) { allowFileAccess = 0; + return 0; } *************** *** 137,140 **** --- 140,144 ---- int ioDisableImageWrite() { allowImageWrite = 0; + return 0; } *************** *** 148,159 **** --- 152,166 ---- int ioCanCreateSocketOfType(int netType, int socketType) { + #pragma unused(netType,socketType) return allowSocketAccess; } int ioCanConnectToPort(int netAddr, int port) { + #pragma unused(netAddr,port) return allowSocketAccess; } int ioCanListenOnPort(int s, int port) { + #pragma unused(s,port) return allowSocketAccess; } *************** *** 161,164 **** --- 168,172 ---- int ioDisableSocketAccess() { allowSocketAccess = 0; + return 0; } |