sgte

Code pulled with git from git://github.com/filippo/sgte.git with the last commit being e1c6be3

These are Current warnings for sgte.

dialyzer -n -q -Wno_improper_lists ebin
sgte.erl:223: Function gettext_init/1 has no local return
sgte.erl:242: Function gettext_init/2 has no local return
sgte.erl:262: Function gettext_init/3 has no local return
sgte_dict.erl:55: The call dict:find(K::any(),L::tuple()) does not have an opaque term of type dict() as 2nd argument
sgte_dict.erl:59: Function rfind_dict/2 will never be called
sgte_dict.erl:72: The call dict:store(Key::any(),V::any(),D::tuple()) does not have an opaque term of type dict() as 3rd argument
sgte_dict.erl:74: The call sgte_dict:find(Key::any(),D::tuple(),fun((_) -> any())) does not have a term of type [any()] | dict() (with opaque subterms) as 2nd argument
sgte_dict.erl:104: Function find/3 has no local return
sgte_dict.erl:104: Guard test is_list(L::tuple()) can never succeed
sgte_dict.erl:106: Guard test is_list(L::tuple()) can never succeed
sgte_dict.erl:109: The call dict:find(Key::any(),Dict::tuple()) does not have an opaque term of type dict() as 2nd argument
sgte_dict.erl:111: Function find1/2 will never be called
sgte_gettext.erl:56: Function gettext_init/3 has no local return
sgte_gettext.erl:61: The call file:open(binary() | string(),'write') breaks the contract (Filename,Modes) -> {'ok',IoDevice} | {'error',Reason} when is_subtype(Filename,name()), is_subtype(Modes,[mode()]), is_subtype(IoDevice,io_device()), is_subtype(Reason,posix() | 'badarg' | 'system_limit')
sgte_gettext.erl:66: Function will never be called
sgte_gettext.erl:82: Function write_file/2 will never be called
sgte_gettext.erl:86: Function will never be called
sgte_gettext.erl:89: Function will never be called
sgte_gettext.erl:103: Function gettext_entry/1 will never be called
sgte_parse.erl:623: The variable _ can never match since previous clauses completely covered the type string()
sgte_render.erl:369: The pattern {'error', {TmplEl, Key, 'not_found'}, {'line', LineNo}} can never match the type {'error',{atom() | pid() | tuple(),'atom' | 'pid' | 'tuple','invalid_data'}} | {'warning',_,{'line',_}}
sgte_render.erl:378: The pattern {'error', {TmplEl, ErrMsg}, {'line', LineNo}} can never match the type {'warning',_,{'line',_}}