From 3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092 Mon Sep 17 00:00:00 2001 From: Lars Thorsen Date: Wed, 19 Oct 2016 14:34:17 +0200 Subject: [orber] Fix dialyzer warnings Removed two matching errors and one unused clause found by dialyzer. --- lib/orber/COSS/CosNaming/CosNaming_NamingContextExt_impl.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/orber/COSS') 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 -- cgit v1.2.3