summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-09-03 20:46:08 +0000
committerTed Ross <tross@apache.org>2008-09-03 20:46:08 +0000
commit5171c04857af6b256619004e9219a0660f89ae4d (patch)
tree415d69686fd133d140712191e0eb46de24d8febe /qpid/cpp/src
parentf5aaf06e18515bd2274bff7f69aac6a33e8161e0 (diff)
downloadqpid-python-5171c04857af6b256619004e9219a0660f89ae4d.tar.gz
Added default return values to satisfy a pedantic compiler (Fedora 9)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/AclModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/AclModule.h b/qpid/cpp/src/qpid/broker/AclModule.h
index 36a3f0baab..851e43c3f4 100644
--- a/qpid/cpp/src/qpid/broker/AclModule.h
+++ b/qpid/cpp/src/qpid/broker/AclModule.h
@@ -89,6 +89,7 @@ class AclHelper {
case METHOD: return "method";
default: assert(false); // should never get here
}
+ return "";
}
static inline Action getAction(const std::string& str) {
if (str.compare("consume") == 0) return CONSUME;
@@ -115,6 +116,7 @@ class AclHelper {
case UPDATE: return "update";
default: assert(false); // should never get here
}
+ return "";
}
static inline Property getProperty(const std::string& str) {
if (str.compare("name") == 0) return NAME;
@@ -147,6 +149,7 @@ class AclHelper {
case SCHEMACLASS: return "schemaclass";
default: assert(false); // should never get here
}
+ return "";
}
static inline AclResult getAclResult(const std::string& str) {
if (str.compare("allow") == 0) return ALLOW;
@@ -163,6 +166,7 @@ class AclHelper {
case DENYLOG: return "deny-log";
default: assert(false); // should never get here
}
+ return "";
}
typedef std::set<Property> propSet;