Skip to content

Commit c4aac97

Browse files
committed
Remove unused variable
This was accidentally left over from before replacing logging the invalid path with incrementing a metric.
1 parent 6e7b56d commit c4aac97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chttpd/src/chttpd.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ handle_request_int(MochiReq) ->
245245
case Path0 of
246246
"/" ++ ValidPath ->
247247
ValidPath;
248-
InvalidPath ->
248+
_ ->
249249
couch_stats:increment_counter([couchdb, httpd, aborted_requests]),
250250
exit({shutdown, invalid_path})
251251
end,

0 commit comments

Comments
 (0)