~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_alarm.c

  • Committer: Mats Kindahl
  • Date: 2008-08-04 20:38:04 UTC
  • mto: (264.1.19 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: mats@mysql.com-20080804203804-8tum4b8fv2qnitj7
Removing redundant use of casts in mysys for memcmp(), memcpy(), memset(), and memmove().

Show diffs side-by-side

added added

removed removed

Lines of Context:
557
557
    }
558
558
    process_alarm(0);
559
559
  }
560
 
  memset((char*) &alarm_thread, 0, sizeof(alarm_thread)); /* For easy debugging */
 
560
  memset(&alarm_thread, 0, sizeof(alarm_thread)); /* For easy debugging */
561
561
  alarm_thread_running= 0;
562
562
  pthread_cond_signal(&COND_alarm);
563
563
  pthread_mutex_unlock(&LOCK_alarm);