Skip to content

Commit

Permalink
Silence 'unmatched value' warning from Dialyzer.
Browse files Browse the repository at this point in the history
Full warning:
fuse_stats_ets.erl:10: Expression produces a value of type
                       atom() | tid(), but this value is unmatched
  • Loading branch information
emauton committed Feb 4, 2015
1 parent fe30c3d commit dd7ef00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuse_stats_ets.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%% Creates the stats ETS table if it doesn't already exist.
-spec init(Name :: atom()) -> ok.
init(Name) ->
case ets:info(?MODULE) of
_ = case ets:info(?MODULE) of
undefined ->
_ = ets:new(?MODULE, [named_table, public, set,
{write_concurrency, true}]);
Expand Down

0 comments on commit dd7ef00

Please sign in to comment.