summaryrefslogtreecommitdiffstats
path: root/src/Core
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-06 21:28:41 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-06 21:28:41 +0200
commit0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f (patch)
treebd12565104b27cb6f28b8c0b2544dd65baf94b5b /src/Core
parentf7d433e6e8559b4584263cae025d3addd1342df4 (diff)
downloadmad-0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f.tar
mad-0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f.zip
Revised server config format
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Configurable.h2
-rw-r--r--src/Core/Exception.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Core/Configurable.h b/src/Core/Configurable.h
index 6eb4cd6..c526379 100644
--- a/src/Core/Configurable.h
+++ b/src/Core/Configurable.h
@@ -37,7 +37,7 @@ class Configurable {
Configurable() {}
- virtual bool handleConfigEntry(const ConfigEntry&, bool) {return false;}
+ virtual bool handleConfigEntry(const ConfigEntry& /*entry*/, bool /*handled*/) {return false;}
virtual void configFinished() {}
};
diff --git a/src/Core/Exception.cpp b/src/Core/Exception.cpp
index ba8b114..af39654 100644
--- a/src/Core/Exception.cpp
+++ b/src/Core/Exception.cpp
@@ -45,6 +45,8 @@ std::string Exception::strerror() const {
return ret + "Not implemented";
case NOT_FOUND:
return ret + "Not found";
+ case INVALID_INPUT:
+ return ret + "Invalid input";
case INTERNAL_ERRNO:
return ret + std::strerror(subCode);
case INVALID_ADDRESS: