~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/scheduler.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 15:52:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709155252-lnzmxxje1g40z3a7
Warning fixes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 */
32
32
 
33
33
static bool init_dummy(void) {return 0;}
34
 
static void post_kill_dummy(THD *thd) {}  
 
34
static void post_kill_dummy(THD *thd __attribute__((__unused__))) {}
35
35
static void end_dummy(void) {}
36
 
static bool end_thread_dummy(THD *thd, bool cache_thread) { return 0; }
 
36
static bool end_thread_dummy(THD *thd __attribute__((__unused__)),
 
37
                             bool cache_thread __attribute__((__unused__)))
 
38
{ return 0; }
37
39
 
38
40
/*
39
41
  Initialize default scheduler with dummy functions so that setup functions
483
485
  These procs only return/terminate on shutdown (kill_pool_threads == true).
484
486
*/
485
487
 
486
 
pthread_handler_t libevent_thread_proc(void *arg)
 
488
pthread_handler_t libevent_thread_proc(void *arg __attribute__((__unused__)))
487
489
{
488
490
  if (init_new_connection_handler_thread())
489
491
  {