]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: fix some -Wextra-semi warnings
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 8 May 2014 07:38:28 +0000 (09:38 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 8 May 2014 07:38:28 +0000 (09:38 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/msg/Dispatcher.h
src/msg/Message.h

index 864e9e1ed2891209f4dd796d5845add3ca14e5ec..9b6a66115d914ceb7f9f8a62462cf73c0320dfac 100644 (file)
@@ -100,7 +100,7 @@ public:
    * @param con The new Connection which has been established. You are not
    * granted a reference to it -- take one if you need one!
    */
-  virtual void ms_handle_connect(Connection *con) { };
+  virtual void ms_handle_connect(Connection *con) {}
 
   /**
    * This function will be called synchronously whenever a Connection is
@@ -111,14 +111,14 @@ public:
    * @param con The new Connection which has been established. You are not
    * granted a reference to it -- take one if you need one!
    */
-  virtual void ms_handle_fast_connect(Connection *con) { };
+  virtual void ms_handle_fast_connect(Connection *con) {}
 
   /**
    * Callback indicating we have accepted an incoming connection.
    *
    * @param con The (new or existing) Connection associated with the session
    */
-  virtual void ms_handle_accept(Connection *con) { };
+  virtual void ms_handle_accept(Connection *con) {}
 
   /**
    * Callback indicating we have accepted an incoming connection, if you
@@ -127,7 +127,7 @@ public:
    *
    * @param con The (new or existing) Connection associated with the session
    */
-  virtual void ms_handle_fast_accept(Connection *con) { };
+  virtual void ms_handle_fast_accept(Connection *con) {}
 
   /*
    * this indicates that the ordered+reliable delivery semantics have 
@@ -169,7 +169,7 @@ public:
    *
    * @return True if this function call properly filled in *a, false otherwise.
    */
-  virtual bool ms_get_authorizer(int dest_type, AuthAuthorizer **a, bool force_new) { return false; };
+  virtual bool ms_get_authorizer(int dest_type, AuthAuthorizer **a, bool force_new) { return false; }
   /**
    * Verify the authorizer for a new incoming Connection.
    *
@@ -186,7 +186,7 @@ public:
    */
   virtual bool ms_verify_authorizer(Connection *con, int peer_type,
                                    int protocol, bufferlist& authorizer, bufferlist& authorizer_reply,
-                                   bool& isvalid, CryptoKey& session_key) { return false; };
+                                   bool& isvalid, CryptoKey& session_key) { return false; }
   /**
    * @} //Authentication
    */
index a69944f839c49fc86b4ac288e0086a76ba46e048..f3c9a4c8dca9c38d4e5e4bbd9e2e8f33c9d6ccf1 100644 (file)
@@ -350,7 +350,7 @@ public:
       dispatch_throttle_size(0) {
     memset(&header, 0, sizeof(header));
     memset(&footer, 0, sizeof(footer));
-  };
+  }
   Message(int t, int version=1, int compat_version=0)
     : connection(NULL),
       byte_throttler(NULL),