diff options
| author | 2020-02-22 19:48:48 +0000 | |
|---|---|---|
| committer | 2020-02-22 19:48:48 +0000 | |
| commit | bfae72707aa0e6c31acfd0a272da4e84afc591c6 (patch) | |
| tree | e489531d24e39f9c97ed59594f4665e4b847ab98 /usr.bin/dig/lib/isc/buffer.c | |
| parent | remove unused code (diff) | |
| download | wireguard-openbsd-bfae72707aa0e6c31acfd0a272da4e84afc591c6.tar.xz wireguard-openbsd-bfae72707aa0e6c31acfd0a272da4e84afc591c6.zip | |
remove assigned but unused values
ok millert florian
Diffstat (limited to 'usr.bin/dig/lib/isc/buffer.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/buffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/dig/lib/isc/buffer.c b/usr.bin/dig/lib/isc/buffer.c index e962a063de5..a0814a8c3f4 100644 --- a/usr.bin/dig/lib/isc/buffer.c +++ b/usr.bin/dig/lib/isc/buffer.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: buffer.c,v 1.4 2020/02/22 19:47:06 jung Exp $ */ +/* $Id: buffer.c,v 1.5 2020/02/22 19:48:48 jung Exp $ */ /*! \file */ @@ -343,14 +343,12 @@ isc_buffer_allocate(isc_buffer_t **dynbuffer, void isc_buffer_free(isc_buffer_t **dynbuffer) { - unsigned int real_length; isc_buffer_t *dbuf; REQUIRE(dynbuffer != NULL); dbuf = *dynbuffer; *dynbuffer = NULL; /* destroy external reference */ - real_length = dbuf->length + sizeof(isc_buffer_t); isc_buffer_invalidate(dbuf); free(dbuf); |
