Ignore all casts, not just foo
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/ff3b88bc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/ff3b88bc Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/ff3b88bc Branch: refs/heads/windsor-merge-209 Commit: ff3b88bc0c26fa92e67ae4ce9735ea45c006145c Parents: 1caf4b6 Author: Robert Newson <[email protected]> Authored: Tue Apr 30 18:17:44 2013 +0100 Committer: Robert Newson <[email protected]> Committed: Mon Aug 4 14:16:55 2014 +0100 ---------------------------------------------------------------------- src/couch_native_process.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/ff3b88bc/src/couch_native_process.erl ---------------------------------------------------------------------- diff --git a/src/couch_native_process.erl b/src/couch_native_process.erl index d4b2deb..e59a223 100644 --- a/src/couch_native_process.erl +++ b/src/couch_native_process.erl @@ -97,7 +97,7 @@ handle_call({prompt, Data}, _From, State) -> handle_cast(garbage_collect, State) -> erlang:garbage_collect(), {noreply, State}; -handle_cast(foo, State) -> {noreply, State}. +handle_cast(_, State) -> {noreply, State}. handle_info({'EXIT',_,normal}, State) -> {noreply, State}; handle_info({'EXIT',_,Reason}, State) ->
