diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-17 12:33:09 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-17 12:33:09 +0000 |
commit | b3a40b44180e79877da973404435d1bc9d43226e (patch) | |
tree | f5d44505ab847ec64d256fdfc4f9163214e27da9 /ace/IO_SAP.cpp | |
parent | 45d36ec9f5ed964e5c066f4508ad966827d6422d (diff) | |
download | ATCD-b3a40b44180e79877da973404435d1bc9d43226e.tar.gz |
(enable): removed unreachable break statement.
Diffstat (limited to 'ace/IO_SAP.cpp')
-rw-r--r-- | ace/IO_SAP.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/ace/IO_SAP.cpp b/ace/IO_SAP.cpp index d68739f7dc8..ee4884995ee 100644 --- a/ace/IO_SAP.cpp +++ b/ace/IO_SAP.cpp @@ -32,7 +32,7 @@ ACE_IO_SAP::dump (void) const ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); } -// Cache for the process ID. +// Cache for the process ID. pid_t ACE_IO_SAP::pid_ = 0; int @@ -75,7 +75,6 @@ ACE_IO_SAP::enable (int value) const #else // <== ACE_NOTSUP_RETURN (-1); #endif /* SIGIO <== */ - break; case ACE_NONBLOCK: if (ACE::set_flags (this->handle_, ACE_NONBLOCK) == -1) @@ -105,7 +104,7 @@ ACE_IO_SAP::disable (int value) const #if defined (F_SETOWN) if (ACE_OS::fcntl (this->handle_, F_SETOWN, 0) == -1) - return -1; + return -1; break; #else ACE_NOTSUP_RETURN (-1); @@ -119,7 +118,7 @@ ACE_IO_SAP::disable (int value) const F_SETOWN, 0) == -1 || ACE::clr_flags (this->handle_, FASYNC) == -1) - return -1; + return -1; break; #else ACE_NOTSUP_RETURN (-1); @@ -130,7 +129,7 @@ ACE_IO_SAP::disable (int value) const case ACE_NONBLOCK: if (ACE::clr_flags (this->handle_, ACE_NONBLOCK) == -1) - return -1; + return -1; break; default: return -1; @@ -138,7 +137,6 @@ ACE_IO_SAP::disable (int value) const return 0; #else ACE_UNUSED_ARG (value); - ACE_NOTSUP_RETURN (-1); + ACE_NOTSUP_RETURN (-1); #endif /* !ACE_WIN32 */ } - |