aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/COSS/CosNaming
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/COSS/CosNaming
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/COSS/CosNaming')
-rw-r--r--lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl b/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl
index 545be62852..8f7da2425b 100644
--- a/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl
+++ b/lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl
@@ -624,12 +624,7 @@ destroy(OE_THIS, OE_State) ->
orber:dbg("[~p] ~p:destroy(~p);~n"
"DB access returned ~p",
[?LINE, ?MODULE, SubobjKey, Other], ?DEBUG_LEVEL),
- {'EXCEPTION', #'CosNaming_NamingContext_NotEmpty'{}};
- Other ->
- orber:dbg("[~p] ~p:destroy(~p);~n"
- "DB access returned ~p",
- [?LINE, ?MODULE, SubobjKey, Other], ?DEBUG_LEVEL),
- {'EXCEPTION', #'INTERNAL'{completion_status=?COMPLETED_NO}}
+ {'EXCEPTION', #'CosNaming_NamingContext_NotEmpty'{}}
end
end,
case mnesia:transaction(_DF) of