mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
line 647: remark(1552): variable "connection" was set but never used.
Removed variable.
This commit is contained in:
@@ -644,7 +644,6 @@ static isc_result_t
|
|||||||
protocol_signalhandler(omapi_object_t *h, const char *name, va_list ap) {
|
protocol_signalhandler(omapi_object_t *h, const char *name, va_list ap) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
omapi_protocol_t *p;
|
omapi_protocol_t *p;
|
||||||
omapi_object_t *connection;
|
|
||||||
omapi_connection_t *c;
|
omapi_connection_t *c;
|
||||||
|
|
||||||
REQUIRE(h != NULL && h->type == omapi_type_protocol);
|
REQUIRE(h != NULL && h->type == omapi_type_protocol);
|
||||||
@@ -660,8 +659,6 @@ protocol_signalhandler(omapi_object_t *h, const char *name, va_list ap) {
|
|||||||
|
|
||||||
INSIST(p->outer != NULL && p->outer->type == omapi_type_connection);
|
INSIST(p->outer != NULL && p->outer->type == omapi_type_connection);
|
||||||
|
|
||||||
connection = p->outer;
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
result = dispatch_messages(p, c);
|
result = dispatch_messages(p, c);
|
||||||
} while (result == ISC_R_SUCCESS);
|
} while (result == ISC_R_SUCCESS);
|
||||||
|
Reference in New Issue
Block a user