X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d0adbf3d56cb2e95fae085700c3e305b134cbaf0..7df9dd832a325848a509b8a6ab4036c1ea96971c:/tests/testadmin.h?ds=inline diff --git a/tests/testadmin.h b/tests/testadmin.h index 37d20b4a..59f81d31 100644 --- a/tests/testadmin.h +++ b/tests/testadmin.h @@ -5,14 +5,14 @@ class TEST_ADMIN : public ADMIN { public: - TEST_ADMIN() : priv(0xffFFffFF) {} + TEST_ADMIN() : priv(0xffFF), ip(0) {} 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; }