File 2052-cosProperty-Fix-dialyzer-warning.patch of Package erlang
From 3e32808b78e7b5298cd403c8edf0bd520530de0e Mon Sep 17 00:00:00 2001
From: Lars Thorsen <lars@erlang.org>
Date: Wed, 19 Oct 2016 14:39:37 +0200
Subject: [PATCH 2/4] [cosProperty] Fix dialyzer warning
Remove one unused clause found by dialyzer.
---
lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl b/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl
index bf04653..371e72c 100644
--- a/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl
+++ b/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl
@@ -913,8 +913,6 @@ mnesia_read(State) ->
case mnesia:wread({oe_CosPropertyService, ?get_DBKey(State)}) of
[#oe_CosPropertyService{properties = X}] ->
X;
- {atomic, []} ->
- {'EXCEPTION', #'OBJECT_NOT_EXIST'{completion_status=?COMPLETED_NO}};
_Other ->
{'EXCEPTION', #'INTERNAL'{completion_status=?COMPLETED_NO}}
end.
--
2.10.2