diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-08-29 16:50:35 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-08-29 16:50:35 +0200 |
commit | 31710940df845a1508fd7c5f0afc0772b602c668 (patch) | |
tree | c764af8d04b79f20b906a69417cbed1abea77dc5 /ACE/apps | |
parent | d148f4662b1cbea5574bb0c43b09a57b7a26ed6d (diff) | |
download | ATCD-31710940df845a1508fd7c5f0afc0772b602c668.tar.gz |
Fixed gcc7 warning
* ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp:
* ACE/apps/Gateway/Peer/Peer.cpp:
Diffstat (limited to 'ACE/apps')
-rw-r--r-- | ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp | 6 | ||||
-rw-r--r-- | ACE/apps/Gateway/Peer/Peer.cpp | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp b/ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp index feb3342d188..b5f45afd75c 100644 --- a/ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp +++ b/ACE/apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp @@ -412,16 +412,14 @@ Supplier_Handler::recv (ACE_Message_Block *&forward_addr) if (errno == EWOULDBLOCK) // This might happen if only the header came through. return -1; - /* FALLTHROUGH */; - + // fallthrough case 0: // Premature EOF. if (data_bytes_left_to_read) { this->msg_frag_ = this->msg_frag_->release (); return 0; } - /* FALLTHROUGH */; - + // fallthrough default: // Set the write pointer at 1 past the end of the event. this->msg_frag_->wr_ptr (data_received); diff --git a/ACE/apps/Gateway/Peer/Peer.cpp b/ACE/apps/Gateway/Peer/Peer.cpp index 469cc06a8fb..8e2832b6458 100644 --- a/ACE/apps/Gateway/Peer/Peer.cpp +++ b/ACE/apps/Gateway/Peer/Peer.cpp @@ -419,16 +419,14 @@ Peer_Handler::recv (ACE_Message_Block *&mb) if (errno == EWOULDBLOCK) // This might happen if only the header came through. return -1; - /* FALLTHROUGH */; - + // fallthrough case 0: // Premature EOF. if (data_bytes_left_to_read) { this->msg_frag_ = this->msg_frag_->release (); return 0; } - /* FALLTHROUGH */; - + // fallthrough default: // Set the write pointer at 1 past the end of the event. this->msg_frag_->wr_ptr (data_received); |