Commit ca6faad2 authored by Mark Andrews's avatar Mark Andrews

remove event which is only used for sizeof

parent 7e26e5ca
/*
* Copyright (C) 1998-2001, 2004, 2005, 2007, 2009, 2011, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001, 2004, 2005, 2007, 2009, 2011, 2013-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -489,7 +489,6 @@ t_tasks2(void) {
uintptr_t ntasks;
int result;
char *p;
isc_event_t *event;
unsigned int workers;
isc_result_t isc_result;
......@@ -546,7 +545,7 @@ t_tasks2(void) {
}
T2_event = isc_event_allocate(T2_mctx, (void *)1, 1, t2_callback,
(void *)ntasks, sizeof(*event));
(void *)ntasks, sizeof(*T2_event));
if (T2_event == NULL) {
t_info("isc_event_allocate failed\n");
return(T_UNRESOLVED);
......
......@@ -2524,7 +2524,7 @@
./bin/tests/t_api.pl PERL 1999,2000,2001,2004,2007,2012,2016
./bin/tests/task_test.c C 1998,1999,2000,2001,2004,2007,2013,2014,2015,2016,2018
./bin/tests/tasks/Makefile.in MAKE 1998,1999,2000,2001,2002,2004,2007,2009,2012,2014,2016,2017
./bin/tests/tasks/t_tasks.c C 1998,1999,2000,2001,2004,2005,2007,2009,2011,2013,2014,2015,2016
./bin/tests/tasks/t_tasks.c C 1998,1999,2000,2001,2004,2005,2007,2009,2011,2013,2014,2015,2016,2018
./bin/tests/tasks/win32/t_tasks.vcxproj.filters.in X 2013,2015
./bin/tests/tasks/win32/t_tasks.vcxproj.in X 2013,2015,2016,2017
./bin/tests/tasks/win32/t_tasks.vcxproj.user X 2013,2015
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment