From: Mark Andrews Date: Thu, 15 Feb 2018 04:00:34 +0000 (+1100) Subject: remove event which is only used for sizeof X-Git-Tag: v9.12.1rc1~5^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e416b6f57cbcfd9300342b0ed6f2bd863afc85a8;p=thirdparty%2Fbind9.git remove event which is only used for sizeof --- diff --git a/bin/tests/tasks/t_tasks.c b/bin/tests/tasks/t_tasks.c index 79831db5b17..f94db4ed69a 100644 --- a/bin/tests/tasks/t_tasks.c +++ b/bin/tests/tasks/t_tasks.c @@ -1,5 +1,5 @@ /* - * 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); diff --git a/util/copyrights b/util/copyrights index 5c453ff3ab8..7ae171d1eae 100644 --- a/util/copyrights +++ b/util/copyrights @@ -2523,7 +2523,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