diff options
author | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-19 20:42:52 +0000 |
---|---|---|
committer | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-19 20:42:52 +0000 |
commit | 444a76bf65212deb09888c23aaea7d99a9a8a076 (patch) | |
tree | 8fc1e05f11e409df0bad789f84854325a029dc10 /usr.bin/dig | |
parent | c34be5df7158b8ff5e3cdc935b1c7bf34667c46f (diff) |
remove unreachable code
ok millert florian
Diffstat (limited to 'usr.bin/dig')
-rw-r--r-- | usr.bin/dig/lib/isc/task.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/isc/task.c b/usr.bin/dig/lib/isc/task.c index e9e9ae5c9e1..1f4dfeb2cf5 100644 --- a/usr.bin/dig/lib/isc/task.c +++ b/usr.bin/dig/lib/isc/task.c @@ -784,7 +784,6 @@ isc_result_t isc_taskmgr_create(unsigned int workers, unsigned int default_quantum, isc_taskmgr_t **managerp) { - isc_result_t result; unsigned int i, started = 0; isc_taskmgr_t *manager; @@ -830,9 +829,6 @@ isc_taskmgr_create(unsigned int workers, *managerp = (isc_taskmgr_t *)manager; return (ISC_R_SUCCESS); - - free(manager); - return (result); } void |