Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dialyzer errors under OTP R15B01 #17

Merged
merged 1 commit into from
Apr 30, 2012
Merged

Commits on Apr 30, 2012

  1. Fix dialyzer errors with OTP R15B01

    $ make dialyzer
    ./rebar analyze
    ==> lhttpc-1 (analyze)
    lhttpc_manager.erl:127: Call to missing or unexported function ssl:seed/1
    lhttpc_manager.erl:221: The return type #httpc_man{max_pool_size::non_neg_integer(),timeout::non_neg_integer()} in the specification of code_change/3 is not a subtype of {'error',_} | {'ok',_}, which is the expected return type for the callback of gen_server behaviour
    lhttpc_sup.erl:52: The return type {'ok',{{atom(),integer(),integer()},[{atom(),{atom(),atom(),['any']},atom(),integer(),atom(),[atom()]}]}} in the specification of init/1 is not a subtype of 'ignore' | {'ok',{{'one_for_all',non_neg_integer(),non_neg_integer()} | {'one_for_one',non_neg_integer(),non_neg_integer()} | {'rest_for_one',non_neg_integer(),non_neg_integer()} | {'simple_one_for_one',non_neg_integer(),non_neg_integer()},[{_,{atom() | tuple(),atom(),'undefined' | [any()]},'permanent' | 'temporary' | 'transient','brutal_kill' | 'infinity' | non_neg_integer(),'supervisor' | 'worker','dynamic' | [atom() | tuple()]}]}}, which is the expected return type for the callback of supervisor behaviour
    $
    fdmanana committed Apr 30, 2012
    Configuration menu
    Copy the full SHA
    2c145a0 View commit details
    Browse the repository at this point in the history