-
Notifications
You must be signed in to change notification settings - Fork 114
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 and xref warnings #94
Commits on May 29, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 6a99523 - Browse repository at this point
Copy the full SHA 6a99523View commit details -
Ignore warning from commit hooks.
Protobuffs generates insufficient type information for its records. Resolves: riak_pb_codec.erl:338: Invalid type specification for function riak_pb_codec:decode_commit_hooks/1. The success typing is ([any()]) -> [{atom(),atom() | [any(),...]} | {'modfun',atom(),atom() | [any(),...]}]
Configuration menu - View commit details
-
Copy full SHA for 14df6be - Browse repository at this point
Copy the full SHA 14df6beView commit details -
Ignore warning from lists:keyfind/3 returning only false.
Calls within riak_pb only pass empty lists in place of type_mappings(), but riak_kv will pass its own ?MOD_MAP. This results in a false warning in encode_type/2. Resolves: riak_pb_dt_codec.erl:181: The pattern {AtomType, _} can never match the type 'false'
Configuration menu - View commit details
-
Copy full SHA for 4afc507 - Browse repository at this point
Copy the full SHA 4afc507View commit details -
RpbPair fields are both binaries.
Resolves: riak_pb_search_codec.erl:45: Invalid type specification for function riak_pb_search_codec:decode_search_doc/1. The success typing is (#rpbsearchdoc{fields::[{_,_,_}]}) -> [{[any()],[any()]}]
Configuration menu - View commit details
-
Copy full SHA for 0f193da - Browse repository at this point
Copy the full SHA 0f193daView commit details -
We don't have access to riakc_obj from riak_pb, so use the plain types.
Resolves: Unknown types: riakc_obj:metadata/0 riakc_obj:value/0
Configuration menu - View commit details
-
Copy full SHA for 75043b0 - Browse repository at this point
Copy the full SHA 75043b0View commit details -
Turn off exports_not_used xref check.
This is a library application, so all the exported functions in generated code are potentially used elsewhere.
Configuration menu - View commit details
-
Copy full SHA for b4b5404 - Browse repository at this point
Copy the full SHA b4b5404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3523b14 - Browse repository at this point
Copy the full SHA 3523b14View commit details -
Configuration menu - View commit details
-
Copy full SHA for babb1ba - Browse repository at this point
Copy the full SHA babb1baView commit details
Commits on May 30, 2014
-
Configuration menu - View commit details
-
Copy full SHA for dfdcf34 - Browse repository at this point
Copy the full SHA dfdcf34View commit details -
Configuration menu - View commit details
-
Copy full SHA for d10c567 - Browse repository at this point
Copy the full SHA d10c567View commit details