etorrent

Code pulled with git from git://github.com/jlouis/etorrent.git with the last commit being a35d704

These are Current warnings for etorrent.

dialyzer -n -q -Wno_improper_lists -r apps
etorrent_chunk_mgr.erl:361: The pattern 'invalid' can never match the type 'assigned' | 'begun' | 'stored' | 'unassigned' | 'valid'
etorrent_chunk_mgr.erl:366: Invalid type specification for function etorrent_chunk_mgr:num_state_members/2. The success typing is (integer(),'assigned' | 'begun' | 'invalid' | 'stored' | 'unassigned' | 'valid') -> integer()
etorrent_chunk_mgr.erl:382: Call to missing or unexported function etorrent_scarcity:await_scarcity_server/1
etorrent_chunk_mgr.erl:666: Call to missing or unexported function etorrent_torrent_ctl:piece_stored/2
etorrent_piece_mgr.erl:314: Function chunkify_piece/2 has no local return
etorrent_piece_mgr.erl:316: The call etorrent_piece_mgr:chunkify(Sz::integer()) will never return since it differs in the 1st argument from the success typing arguments: ([{_,_,number()}])
etorrent_piece_mgr.erl:326: Function chunkify/1 has no local return
etorrent_piece_mgr.erl:327: The call etorrent_piece_mgr:chunkify(0,0,[],Operations::integer(),16384) will never return since it differs in the 4th argument from the success typing arguments: (any(),any(),[any()],[{_,_,number()}],any())
etorrent_piece_mgr.erl:331: Function chunkify/5 has no local return
etorrent_piece_mgr.erl:331: The pattern <AtOffset, EatenBytes, Operations, [{_Path, _Offset, 0} | Rest], Left> can never match the type <0,0,[],integer(),16384>
etorrent_piece_mgr.erl:338: The pattern <AtOffset, EatenBytes, Operations, [], _Sz> can never match the type <0,0,[],integer(),16384>
etorrent_piece_mgr.erl:344: The pattern <AtOffset, EatenBytes, Operations, OpsLeft, 0> can never match the type <0,0,[],integer(),16384>
etorrent_piece_mgr.erl:350: The pattern <AtOffset, EatenBytes, Operations, [{Path, Offset, Size} | Rest], Left> can never match the type <0,0,[],integer(),16384>
etorrent_piece_mgr.erl:359: The pattern <AtOffset, EatenBytes, Operations, [{Path, Offset, Size} | Rest], Left> can never match the type <0,0,[],integer(),16384>
etorrent_upnp_httpd.erl:54: The variable Content can never match since previous clauses completely covered the type 'undefined'
etorrent_upnp_net.erl:247: Function will never be called
etorrent_upnp_net.erl:248: Function will never be called
etorrent_upnp_net.erl:321: Function recv_desc/1 has no local return
etorrent_upnp_net.erl:325: The call etorrent_upnp_proto:parse_description([],Body::any()) breaks the contract (inet:ip_address(),string()) -> {'ok',[etorrent_types:upnp_device()],[etorrent_types:upnp_service()]} | {'error',_Reason}
rlimit.erl:44: Invalid type specification for function rlimit:reset/1. The success typing is (atom() | tid()) -> integer()