diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
commit | 09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch) | |
tree | e73cb54e56cad1845559f493a861447d8cded0e3 /src/WebAdmin.h | |
parent | Merge remote-tracking branch 'upstream/master' into threadsafequeue (diff) | |
parent | converted commneted paramater names to the unused macro (diff) | |
download | cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.gz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.bz2 cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.lz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.xz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.zst cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.zip |
Diffstat (limited to 'src/WebAdmin.h')
-rw-r--r-- | src/WebAdmin.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index 0907e7bc3..3eb807640 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -105,7 +105,7 @@ public: cWebAdmin(void); - ~cWebAdmin(); + virtual ~cWebAdmin(); /// Initializes the object. Returns true if successfully initialized and ready to start bool Init(void); @@ -169,9 +169,16 @@ protected: virtual void OnBody(const char * a_Data, int a_Size) override; // cHTTPFormParser::cCallbacks overrides. Files are ignored: - virtual void OnFileStart(cHTTPFormParser & a_Parser, const AString & a_FileName) override {} - virtual void OnFileData(cHTTPFormParser & a_Parser, const char * a_Data, int a_Size) override {} - virtual void OnFileEnd(cHTTPFormParser & a_Parser) override {} + virtual void OnFileStart(cHTTPFormParser &, const AString & a_FileName) override + { + UNUSED(a_FileName); + } + virtual void OnFileData(cHTTPFormParser &, const char * a_Data, int a_Size) override + { + UNUSED(a_Data); + UNUSED(a_Size); + } + virtual void OnFileEnd(cHTTPFormParser &) override {} } ; |