Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit f2276a3

Browse files
committed
Remove avoidable blocks
1 parent 3343f94 commit f2276a3

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

cppapi/client/attr_proxy.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,6 @@ void AttributeProxy::parse_name(std::string &full_name)
432432
{
433433
name_wo_prot = full_name.substr(pos + 3);
434434
}
435-
else if (protocol == TACO_PROTOCOL)
436-
{
437-
TangoSys_OMemStream desc;
438-
desc << "Taco protocol is not supported" << std::ends;
439-
ApiWrongNameExcept::throw_exception((const char*)"API_UnsupportedProtocol",
440-
desc.str(),
441-
(const char*)"AttributeProxy::parse_name()");
442-
}
443435
else
444436
{
445437
TangoSys_OMemStream desc;

cppapi/client/devapi_base.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,14 +2115,6 @@ void DeviceProxy::parse_name(std::string &full_name)
21152115
{
21162116
name_wo_prot = full_name_low.substr(pos + 3);
21172117
}
2118-
else if (protocol == TACO_PROTOCOL)
2119-
{
2120-
TangoSys_OMemStream desc;
2121-
desc << "Taco protocol is not supported" << std::ends;
2122-
ApiWrongNameExcept::throw_exception((const char *) "API_UnsupportedProtocol",
2123-
desc.str(),
2124-
(const char *) "DeviceProxy::parse_name()");
2125-
}
21262118
else
21272119
{
21282120
TangoSys_OMemStream desc;

0 commit comments

Comments
 (0)