2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

"entropy.c", line 1319: remark(1552): variable "ent" was set but never used

This commit is contained in:
David Lawrence
2000-06-23 22:06:47 +00:00
parent 8b65cde911
commit 24de6390c1

View File

@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: entropy.c,v 1.43 2000/06/23 02:31:10 explorer Exp $ */ /* $Id: entropy.c,v 1.44 2000/06/23 22:06:47 tale Exp $ */
#include <config.h> #include <config.h>
@@ -1316,15 +1316,12 @@ isc_result_t
isc_entropy_addcallbacksample(isc_entropysource_t *source, isc_uint32_t sample, isc_entropy_addcallbacksample(isc_entropysource_t *source, isc_uint32_t sample,
isc_uint32_t extra) isc_uint32_t extra)
{ {
isc_entropy_t *ent;
sample_queue_t *sq; sample_queue_t *sq;
isc_result_t result; isc_result_t result;
REQUIRE(VALID_SOURCE(source)); REQUIRE(VALID_SOURCE(source));
REQUIRE(source->type == ENTROPY_SOURCETYPE_CALLBACK); REQUIRE(source->type == ENTROPY_SOURCETYPE_CALLBACK);
ent = source->ent;
sq = &source->sources.callback.samplequeue; sq = &source->sources.callback.samplequeue;
result = addsample(sq, sample, extra); result = addsample(sq, sample, extra);