Update of /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SocketPlugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/squeak/platforms/Mac OS/plugins/SocketPlugin
Modified Files:
sqMacNetwork.c
Log Message:
3.7.4b3 Compiler warning reduction process. Return 0 if required, flag or removed unused variables, fix ambigous warning messages
Index: sqMacNetwork.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/plugins/SocketPlugin/sqMacNetwork.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** sqMacNetwork.c 16 Dec 2003 22:09:30 -0000 1.6
--- sqMacNetwork.c 3 Aug 2004 02:41:07 -0000 1.7
***************
*** 1945,1949 ****
if (link == NULL) {
OTAtomicSetBit(&epi->stateFlags2, kReadFlowControl); //NO free buffers we are flow controled
! return;
}
gFreeReadBuffersCounter--;
--- 1945,1949 ----
if (link == NULL) {
OTAtomicSetBit(&epi->stateFlags2, kReadFlowControl); //NO free buffers we are flow controled
! return 0;
}
gFreeReadBuffersCounter--;
***************
*** 2008,2012 ****
if (link == NULL) {
OTAtomicSetBit(&epi->stateFlags2, kReadFlowControl); //Our read flow control, OT will block lower down
! return;
}
gFreeReadBuffersCounter--;
--- 2008,2012 ----
if (link == NULL) {
OTAtomicSetBit(&epi->stateFlags2, kReadFlowControl); //Our read flow control, OT will block lower down
! return 0;
}
gFreeReadBuffersCounter--;
***************
*** 2710,2713 ****
--- 2710,2714 ----
static pascal void DNSNotifier(void* context, OTEventCode event, OTResult result, void* cookie)
{
+ #pragma unused(cookie)
EPInfo* epi = (EPInfo*) context;
|