module.erl:51: Function init/1 has no local return
check out all used records in this function for right type definitions of its items. For example, if record defined as
-record(state, {
name :: string(),
data :: binary()
}
and usage of state is
init([]) ->
{ok, #state{name = "Name", data = "Data"}}
this warning will appears.
1 comment:
Such a well written post.. Thnkx over the extent of sharing this post!
[IMG]http://www.sedonarapidweightloss.com/weightloss-diet/34/b/happy.gif[/IMG]
Post a Comment