aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-10-19 14:39:37 +0200
committerLars Thorsen <[email protected]>2016-11-04 12:27:31 +0100
commit3e32808b78e7b5298cd403c8edf0bd520530de0e (patch)
tree248e8b5728e489633f97a01630e3dac60b4b9923
parent3d08bfbd778ed8c543f4eb9f2c45ee50d45d8092 (diff)
downloadotp-3e32808b78e7b5298cd403c8edf0bd520530de0e.tar.gz
otp-3e32808b78e7b5298cd403c8edf0bd520530de0e.tar.bz2
otp-3e32808b78e7b5298cd403c8edf0bd520530de0e.zip
[cosProperty] Fix dialyzer warning
Remove one unused clause found by dialyzer.
-rw-r--r--lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl b/lib/cosProperty/src/CosPropertyService_PropertySetDef_impl.erl
index bf046530d8..371e72cf72 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.