mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 12:12:11 -04:00
quiet compiler warning about ambiguous 'else'
This commit is contained in:
parent
87fe131e60
commit
6627af90c6
1 changed files with 2 additions and 1 deletions
|
|
@ -747,12 +747,13 @@ message_signalhandler(omapi_object_t *handle, const char *name, va_list ap) {
|
|||
message = (omapi_message_t *)handle;
|
||||
|
||||
if (strcmp(name, "status") == 0 &&
|
||||
(message->object != NULL || message->notify_object != NULL))
|
||||
(message->object != NULL || message->notify_object != NULL)) {
|
||||
if (message->notify_object != NULL)
|
||||
return (object_vsignal(message->notify_object, name,
|
||||
ap));
|
||||
else
|
||||
return (object_vsignal(message->object, name, ap));
|
||||
}
|
||||
|
||||
return (omapi_object_passsignal(handle, name, ap));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue