Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27624/squeak/platforms/Mac OS/vm
Modified Files:
sqMacUIEvents.c
Log Message:
3.7.4b3 Compiler warning reduction process. Return 0 if required, flag or removed unused variables, fix ambigous warning messages
Index: sqMacUIEvents.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/vm/sqMacUIEvents.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** sqMacUIEvents.c 23 Apr 2004 20:49:34 -0000 1.22
--- sqMacUIEvents.c 3 Aug 2004 02:42:18 -0000 1.23
***************
*** 165,173 ****
void HandleMouseDown(EventRecord *theEvent);
int ioProcessEvents(void) {
/* This is a noop when running as a plugin; the browser handles events. */
static unsigned long nextPollTick = 0, nextPowerCheck=0, disableIdleTickLimit=0;
unsigned long clockTime;
- #ifndef BROWSERPLUGIN
clockTime = ioLowResMSecs();
if (abs(nextPollTick - clockTime) >= 16) {
--- 165,173 ----
void HandleMouseDown(EventRecord *theEvent);
int ioProcessEvents(void) {
+ #ifndef BROWSERPLUGIN
/* This is a noop when running as a plugin; the browser handles events. */
static unsigned long nextPollTick = 0, nextPowerCheck=0, disableIdleTickLimit=0;
unsigned long clockTime;
clockTime = ioLowResMSecs();
if (abs(nextPollTick - clockTime) >= 16) {
***************
*** 195,198 ****
--- 195,199 ----
}
#endif
+ return 0;
}
***************
*** 1455,1459 ****
OSStatus result = eventNotHandledErr; /* report failure by default */
static RgnHandle ioWinRgn=null;
- WindowPtr theWindow;
extern Boolean gSqueakWindowIsFloating,gSqueakFloatingWindowGetsFocus;
--- 1456,1459 ----
***************
*** 1919,1922 ****
--- 1919,1923 ----
pthread_exit(null);
}
+ return 0;
}
#endif
***************
*** 1934,1937 ****
--- 1935,1939 ----
pthread_mutex_unlock(&gEventUILock);
}
+ return 0;
}
|