diff options
Diffstat (limited to 'cpp/src/IceGrid/DescriptorBuilder.cpp')
-rw-r--r-- | cpp/src/IceGrid/DescriptorBuilder.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/IceGrid/DescriptorBuilder.cpp b/cpp/src/IceGrid/DescriptorBuilder.cpp index 9ffc5819294..79fe234bc50 100644 --- a/cpp/src/IceGrid/DescriptorBuilder.cpp +++ b/cpp/src/IceGrid/DescriptorBuilder.cpp @@ -105,7 +105,6 @@ XmlAttributesHelper::asBool(const string& name) const if(p == _attributes.end()) { throw invalid_argument("missing attribute '" + name + "'"); - return true; // Keep the compiler happy. } else if(p->second == "true") { @@ -118,7 +117,6 @@ XmlAttributesHelper::asBool(const string& name) const else { throw invalid_argument("invalid attribute `" + name + "': value is not 'false' or 'true'"); - return true; // Keep the compiler happy. } } @@ -142,7 +140,6 @@ XmlAttributesHelper::asBool(const string& name, bool def) const else { throw invalid_argument("invalid attribute `" + name + "': value is not 'false' or 'true'"); - return true; // Keep the compiler happy. } } @@ -855,14 +852,12 @@ ServiceDescriptorBuilder* ServerDescriptorBuilder::createService(const XmlAttributesHelper& /*attrs*/) { throw invalid_argument("<service> element can only be a child of an <icebox> element"); - return 0; } ServiceInstanceDescriptorBuilder* ServerDescriptorBuilder::createServiceInstance(const XmlAttributesHelper& /*attrs*/) { throw invalid_argument("<service-instance> element can only be a child of an <icebox> element"); - return 0; } void |