You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/28 13:59:46 UTC

[23/50] chttpd commit: updated refs/heads/master to 58020ab

Fix unused variable warning


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/0d85df9f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/0d85df9f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/0d85df9f

Branch: refs/heads/master
Commit: 0d85df9ffb2e4af58c0cd2b825c55a7447e370ab
Parents: 2c4d2b3
Author: Adam Kocoloski <ad...@cloudant.com>
Authored: Wed Oct 16 14:20:33 2013 -0400
Committer: Robert Newson <rn...@apache.org>
Committed: Tue Jul 29 18:25:18 2014 +0100

----------------------------------------------------------------------
 src/chttpd_misc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/0d85df9f/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index fcd8999..f4a643c 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -188,7 +188,7 @@ replicate({Props} = PostBody, Ctx) ->
     end.
 
 cancel_replication(PostBody, Ctx) ->
-    {Res, Bad} = rpc:multicall(couch_replicator, replicate, [PostBody, Ctx]),
+    {Res, _Bad} = rpc:multicall(couch_replicator, replicate, [PostBody, Ctx]),
     case [X || {ok, {cancelled, _}} = X <- Res] of
     [Success|_] ->
         % Report success if at least one node canceled the replication