* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: t_tasks.c,v 1.42.424.5 2011/03/18 23:47:15 tbox Exp $ */
+/* $Id: t_tasks.c,v 1.42.424.6 2011/07/27 07:06:54 marka Exp $ */
#include <config.h>
static void
t1_shutdown(isc_task_t *task, isc_event_t *event) {
+
UNUSED(task);
t_info("shutdown %s\n", (char *)event->ev_arg);
static void
my_tick(isc_task_t *task, isc_event_t *event) {
+
UNUSED(task);
t_info("%s\n", (char *)event->ev_arg);
isc_result_t isc_result;
- task = task; /* notused */
+ UNUSED(task);
if (event->ev_arg != NULL) {
isc_task_destroy((isc_task_t**) &event->ev_arg);
static void
t3_sde1(isc_task_t *task, isc_event_t *event) {
- task = task;
+
+ UNUSED(task);
if (T3_nevents != T3_NEVENTS) {
t_info("Some events were not processed\n");
static void
t3_sde2(isc_task_t *task, isc_event_t *event) {
- task = task;
+ UNUSED(task);
if (T3_nevents != T3_NEVENTS) {
t_info("Some events were not processed\n");
t3_event1(isc_task_t *task, isc_event_t *event) {
isc_result_t isc_result;
- task = task;
+ UNUSED(task);
isc_result = isc_mutex_lock(&T3_mx);
if (isc_result != ISC_R_SUCCESS) {
static void
t3_event2(isc_task_t *task, isc_event_t *event) {
- task = task;
+ UNUSED(task);
++T3_nevents;
isc_event_free(&event);
t10_event1(isc_task_t *task, isc_event_t *event) {
isc_result_t isc_result;
- task = task;
+ UNUSED(task);
isc_result = isc_mutex_lock(&T10_mx);
if (isc_result != ISC_R_SUCCESS) {
int type_match;
int tag_match;
- task = task;
+ UNUSED(task);
sender_match = 0;
type_match = 0;
t10_sde(isc_task_t *task, isc_event_t *event) {
isc_result_t isc_result;
- task = task;
+ UNUSED(task);
isc_result = isc_mutex_lock(&T10_mx);
if (isc_result != ISC_R_SUCCESS) {
t11_event1(isc_task_t *task, isc_event_t *event) {
isc_result_t isc_result;
- task = task;
+ UNUSED(task);
isc_result = isc_mutex_lock(&T11_mx);
if (isc_result != ISC_R_SUCCESS) {