Skip to content

Commit

Permalink
crypto: Use erlang:nif_error/1 to squelch false Dialyzer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed May 31, 2010
1 parent 7ff117e commit c28c4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crypto/src/crypto.erl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ on_load() ->


nif_stub_error(Line) ->
erlang:error({nif_not_loaded,module,?MODULE,line,Line}).
erlang:nif_error({nif_not_loaded,module,?MODULE,line,Line}).

start() ->
application:start(crypto).
Expand Down

0 comments on commit c28c4aa

Please sign in to comment.