|
From: John M M. <jo...@us...> - 2004-08-03 02:39:52
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/plugins/DropPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27079/squeak/platforms/Mac OS/plugins/DropPlugin Modified Files: sqMacDragDrop.c Log Message: 3.7.4b3 Compiler warning reduction process. Return 0 if required, flag or removed unused variables, fix ambigous warning messages Index: sqMacDragDrop.c =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/plugins/DropPlugin/sqMacDragDrop.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** sqMacDragDrop.c 2 Dec 2003 04:52:07 -0000 1.6 --- sqMacDragDrop.c 3 Aug 2004 02:39:43 -0000 1.7 *************** *** 175,181 **** --- 175,184 ---- gMainReceiveHandler = NULL; gDragDropThrottleSpinLock = false; + return 1; } int sqSecFileAccessCallback(void *function) { + #pragma unused(function) + return 0; } *************** *** 278,281 **** --- 281,285 ---- pascal OSErr MyDragTrackingHandler(DragTrackingMessage message, WindowPtr theWindow, void *refCon, DragReference theDragRef) { + #pragma unused(refCon) /* we're drawing into the image well if we hilite... */ Rect bounds; *************** *** 352,355 **** --- 356,361 ---- pascal OSErr MyDragReceiveHandler(WindowPtr theWindow, void *refcon, DragReference theDragRef) { + #pragma unused(refcon) + #pragma unused(theWindow) ItemReference theItem; PromiseHFSFlavor targetPromise; |