aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia
diff options
context:
space:
mode:
authorUlf Wiger <[email protected]>2011-05-13 18:39:41 +0200
committerHenrik Nord <[email protected]>2011-05-16 11:00:29 +0200
commit8d7963d76fb651f6cb250033a0a5a643abd01389 (patch)
tree6347275ebc6e57885a8c5385bb6692d34df7cad0 /lib/mnesia
parent497f4b2215e2fc1b6a10c3f96c71b90dbb529eae (diff)
downloadotp-8d7963d76fb651f6cb250033a0a5a643abd01389.tar.gz
otp-8d7963d76fb651f6cb250033a0a5a643abd01389.tar.bz2
otp-8d7963d76fb651f6cb250033a0a5a643abd01389.zip
dialyzer warning on mnesia_tm
Diffstat (limited to 'lib/mnesia')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl
index 01abc14a81..f62f7cb7c8 100644
--- a/lib/mnesia/src/mnesia_tm.erl
+++ b/lib/mnesia/src/mnesia_tm.erl
@@ -1122,9 +1122,7 @@ t_commit(Type) ->
end.
majority_attr(#prep{majority = M}) ->
- M;
-majority_attr(_) ->
- [].
+ M.
%% This function arranges for all objects we shall write in S to be