diff --git a/ChangeLog b/ChangeLog index ad749df..4579576 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-10-06 NIIBE Yutaka + * src/openpgp.c (GPGthread): Remove unused event message. + * src/main.c (main): Call random_init. * src/gnuk.ld.in (__process_stack_size__): Fix. diff --git a/src/openpgp.c b/src/openpgp.c index 3f00ff0..253de43 100644 --- a/src/openpgp.c +++ b/src/openpgp.c @@ -1028,12 +1028,9 @@ GPGthread (void *arg) while (!chThdShouldTerminate ()) { - eventmask_t m; - - m = chEvtWaitOne (ALL_EVENTS); + chEvtWaitOne (ALL_EVENTS); DEBUG_INFO ("GPG!: "); - DEBUG_WORD ((uint32_t)&m); res_APDU_pointer = NULL; /* default */