mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Removed unused variable warnings by the Macintosh compiler. The patch
is contributed by Kathleen Brade <brade@netscape.com>.
This commit is contained in:
parent
6ef7d8ee8a
commit
4259af374f
@ -942,6 +942,10 @@ static void _md_CreateEventQueue( PLEventQueue *eventQueue )
|
||||
*/
|
||||
static void _md_CreateEventQueue( PLEventQueue *eventQueue )
|
||||
{
|
||||
#ifdef XP_MAC
|
||||
#pragma unused(eventQueue)
|
||||
#endif
|
||||
|
||||
/* there's really nothing special to do here,
|
||||
** the guts of the unix stuff is in the setupnativenotify
|
||||
** and related functions.
|
||||
|
@ -272,7 +272,14 @@ static void PR_CALLBACK _PR_CPU_Idle(void *_cpu)
|
||||
|
||||
PR_IMPLEMENT(void) PR_SetConcurrency(PRUintn numCPUs)
|
||||
{
|
||||
#if !defined(_PR_GLOBAL_THREADS_ONLY) && !defined(_PR_LOCAL_THREADS_ONLY)
|
||||
#if defined(_PR_GLOBAL_THREADS_ONLY) || defined(_PR_LOCAL_THREADS_ONLY)
|
||||
#ifdef XP_MAC
|
||||
#pragma unused(numCPUs)
|
||||
#endif
|
||||
|
||||
/* do nothing */
|
||||
|
||||
#else /* combined, MxN thread model */
|
||||
|
||||
PRUintn newCPU;
|
||||
PRThread *cpu;
|
||||
|
Loading…
Reference in New Issue
Block a user