qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r691765 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h
Date Wed, 03 Sep 2008 20:46:08 GMT
Author: tross
Date: Wed Sep  3 13:46:08 2008
New Revision: 691765

URL: http://svn.apache.org/viewvc?rev=691765&view=rev
Log:
Added default return values to satisfy a pedantic compiler (Fedora 9)

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h?rev=691765&r1=691764&r2=691765&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h Wed Sep  3 13:46:08 2008
@@ -89,6 +89,7 @@
           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 @@
           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 @@
           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 @@
           case DENYLOG: return "deny-log";
           default: assert(false); // should never get here
         }
+        return "";
     }
 
     typedef std::set<Property> propSet;



Mime
View raw message