]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Get rid of some returns that aren't reachable.
authorTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:18:43 +0000 (17:18 +0000)
committerTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:18:43 +0000 (17:18 +0000)
omapip/message.c

index fcc5423cb0d061079febb7af10c7df6bf27913c8..20e8fb265e644a549cb5159beb320201c40b993c 100644 (file)
@@ -391,7 +391,6 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
                        return omapi_protocol_send_status
                                (po, (omapi_object_t *)0, ISC_R_INVALIDARG,
                                 message -> id, "OPEN can't be a response");
-                       return ISC_R_SUCCESS;
                }
 
                /* 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)
                                (po, (omapi_object_t *)0,
                                 ISC_R_EXISTS, message -> id,
                                 "specified object already exists");
-                       return ISC_R_SUCCESS;
                }
 
                /* 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)
                                        (po, (omapi_object_t *)0,
                                         status, message -> id,
                                         "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)
                                (po, (omapi_object_t *)0,
                                 status, message -> id,
                                 "no matching handle");
-                       return ISC_R_SUCCESS;
                }
              send:             
                status = omapi_protocol_send_update (po, (omapi_object_t *)0,