Permalink
Browse files

Remove unused variables

  • Loading branch information...
Bob Dionne Robert Newson
Bob Dionne authored and Robert Newson committed Nov 9, 2012
1 parent d7e9420 commit 5168fe039bcea115c65e34878f2c52c2cc363f78
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/chttpd.erl
  2. +1 −1 src/chttpd_view.erl
View
@@ -620,7 +620,7 @@ send_delayed_error(#delayed_resp{resp=Resp}, Reason) ->
throw({http_abort, Resp, Reason}).
end_delayed_json_response(#delayed_resp{}=DelayedResp) ->
- {ok, #delayed_resp{resp=Resp}=DelayedResp1} =
+ {ok, #delayed_resp{resp=Resp}} =
start_delayed_response(DelayedResp),
end_json_response(Resp).
View
@@ -141,7 +141,7 @@ get_reduce_type(Req) ->
true;
"false" ->
false;
- Error ->
+ _Error ->
throw({bad_request, "`reduce` qs param must be `true` or `false`"})
end.

0 comments on commit 5168fe0

Please sign in to comment.