Commit 086fce21 authored by Ted Lemon's avatar Ted Lemon

Get rid of some returns that aren't reachable.

parent 70984280
...@@ -391,7 +391,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po) ...@@ -391,7 +391,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
return omapi_protocol_send_status return omapi_protocol_send_status
(po, (omapi_object_t *)0, ISC_R_INVALIDARG, (po, (omapi_object_t *)0, ISC_R_INVALIDARG,
message -> id, "OPEN can't be a response"); message -> id, "OPEN can't be a response");
return ISC_R_SUCCESS;
} }
/* Get the type of the requested object, if one was /* Get the type of the requested object, if one was
...@@ -521,7 +520,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po) ...@@ -521,7 +520,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
(po, (omapi_object_t *)0, (po, (omapi_object_t *)0,
ISC_R_EXISTS, message -> id, ISC_R_EXISTS, message -> id,
"specified object already exists"); "specified object already exists");
return ISC_R_SUCCESS;
} }
/* If we're creating the object, do it now. */ /* If we're creating the object, do it now. */
...@@ -534,7 +532,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po) ...@@ -534,7 +532,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
(po, (omapi_object_t *)0, (po, (omapi_object_t *)0,
status, message -> id, status, message -> id,
"can't create new object"); "can't create new object");
return ISC_R_SUCCESS;
} }
} }
...@@ -567,7 +564,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po) ...@@ -567,7 +564,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
(po, (omapi_object_t *)0, (po, (omapi_object_t *)0,
status, message -> id, status, message -> id,
"no matching handle"); "no matching handle");
return ISC_R_SUCCESS;
} }
send: send:
status = omapi_protocol_send_update (po, (omapi_object_t *)0, status = omapi_protocol_send_update (po, (omapi_object_t *)0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment