aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/src
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-10-19 14:34:17 +0200
committerLars Thorsen <[email protected]>2016-11-04 12:27:31 +0100
commit3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092 (patch)
tree2a18b1d6a92e6fbe9280042755e83aa6103a836c /lib/orber/src
parent9abe6f4ad22e4d623158f667ae97059a9a30efa8 (diff)
downloadotp-3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092.tar.gz
otp-3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092.tar.bz2
otp-3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092.zip
[orber] Fix dialyzer warnings
Removed two matching errors and one unused clause found by dialyzer.
Diffstat (limited to 'lib/orber/src')
-rw-r--r--lib/orber/src/corba.erl2
-rw-r--r--lib/orber/src/orber_ifr_contained.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/orber/src/corba.erl b/lib/orber/src/corba.erl
index faebbc4059..1be84f5a83 100644
--- a/lib/orber/src/corba.erl
+++ b/lib/orber/src/corba.erl
@@ -2115,7 +2115,7 @@ call_RQprotected(Module, Obj, Func, Args, GroupID, RQCtx) ->
sticky_write),
Reply;
% retransmitted request
- #ft_reply_retention{reply = Reply} ->
+ [#ft_reply_retention{reply = Reply}] ->
Reply
end.
diff --git a/lib/orber/src/orber_ifr_contained.erl b/lib/orber/src/orber_ifr_contained.erl
index d5f41fbe72..2a67fa98fd 100644
--- a/lib/orber/src/orber_ifr_contained.erl
+++ b/lib/orber/src/orber_ifr_contained.erl
@@ -232,7 +232,7 @@ move(true, Contained_objref, New_container, New_name, New_version) ->
lists:filter(fun(X) -> X /= Contained_objref
end, select(Old_container_obj,
contents))),
- New_container_obj = mnesia:read(New_container),
+ [New_container_obj] = mnesia:read(New_container),
Contents = orber_ifr_container:contents(New_container, dk_All,
true),
New_new_container_obj =