]> git.stg.codes - stg.git/blobdiff - tests/testadmin.h
Fix compiler warnings in unit-tests
[stg.git] / tests / testadmin.h
index 37d20b4a73c322d733ced0ff1f80b3ba6cc2f50d..2175dbb665f479f29e653dc7d700e2031af29de0 100644 (file)
@@ -9,10 +9,10 @@ class TEST_ADMIN : public ADMIN {
 
         ADMIN & operator=(const ADMIN &) { return *this; }
         ADMIN & operator=(const ADMIN_CONF &) { return *this; }
-        bool    operator==(const ADMIN & rhs) const { return true; }
-        bool    operator!=(const ADMIN & rhs) const { return false; }
-        bool    operator<(const ADMIN & rhs) const { return true; }
-        bool    operator<=(const ADMIN & rhs) const { return true; }
+        bool    operator==(const ADMIN & /*rhs*/) const { return true; }
+        bool    operator!=(const ADMIN & /*rhs*/) const { return false; }
+        bool    operator<(const ADMIN & /*rhs*/) const { return true; }
+        bool    operator<=(const ADMIN & /*rhs*/) const { return true; }
 
         const std::string & GetPassword() const { return password; }
         const std::string & GetLogin() const { return login; }