Skip to content
Snippets Groups Projects
Commit c2644a95 authored by Irene Y Zhang's avatar Irene Y Zhang
Browse files

fixing inconsistent calls by removing return

parent c5444ac4
No related branches found
No related tags found
No related merge requests found
...@@ -331,7 +331,7 @@ IRClient::HandleInconsistentReply(const TransportAddress &remote, ...@@ -331,7 +331,7 @@ IRClient::HandleInconsistentReply(const TransportAddress &remote,
} // don't use the confirmation timeout for async replies } // don't use the confirmation timeout for async replies
// Return to client // Return to client
req->continuation(req->request, ""); req->continuation(req->request);
delete req; delete req;
} }
} }
......
...@@ -312,7 +312,7 @@ ShardClient::PrepareCallback(const string &request_str, const string &reply_str) ...@@ -312,7 +312,7 @@ ShardClient::PrepareCallback(const string &request_str, const string &reply_str)
/* Callback from a shard replica on commit operation completion. */ /* Callback from a shard replica on commit operation completion. */
void void
ShardClient::CommitCallback(const string &request_str, const string &reply_str) ShardClient::CommitCallback(const string &request_str)
{ {
// COMMITs always succeed. // COMMITs always succeed.
Reply reply; Reply reply;
...@@ -332,7 +332,7 @@ ShardClient::CommitCallback(const string &request_str, const string &reply_str) ...@@ -332,7 +332,7 @@ ShardClient::CommitCallback(const string &request_str, const string &reply_str)
/* Callback from a shard replica on abort operation completion. */ /* Callback from a shard replica on abort operation completion. */
void void
ShardClient::AbortCallback(const string &request_str, const string &reply_str) ShardClient::AbortCallback(const string &request_str)
{ {
// ABORTs always succeed. // ABORTs always succeed.
Reply reply; Reply reply;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment