aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia.hrl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-03 15:30:31 +0100
committerDan Gudmundsson <[email protected]>2014-03-28 09:55:57 +0100
commitfaae15d89ac03fce87f0370b011ed71f85d83d8b (patch)
treed27ece9491944a25fa205ae6565565facb58695c /lib/mnesia/src/mnesia.hrl
parentc57f0f96bab1951d9c5ecf80d64f0624e96d2417 (diff)
downloadotp-faae15d89ac03fce87f0370b011ed71f85d83d8b.tar.gz
otp-faae15d89ac03fce87f0370b011ed71f85d83d8b.tar.bz2
otp-faae15d89ac03fce87f0370b011ed71f85d83d8b.zip
mnesia: Dialyzer fixes
Diffstat (limited to 'lib/mnesia/src/mnesia.hrl')
-rw-r--r--lib/mnesia/src/mnesia.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia.hrl b/lib/mnesia/src/mnesia.hrl
index 2855792646..c8010d5466 100644
--- a/lib/mnesia/src/mnesia.hrl
+++ b/lib/mnesia/src/mnesia.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2011. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -35,7 +35,7 @@
-define(ets_last(Tab), ets:last(Tab)).
-define(ets_prev(Tab, Key), ets:prev(Tab, Key)).
-define(ets_slot(Tab, Pos), ets:slot(Tab, Pos)).
--define(ets_new_table(Tab, Props), ets:new(Tab, Props)).
+-define(ets_new_table(Tab, Props), _ = ets:new(Tab, Props)).
-define(ets_delete_table(Tab), ets:delete(Tab)).
-define(ets_fixtable(Tab, Bool), ets:fixtable(Tab, Bool)).