summaryrefslogtreecommitdiffstats
path: root/src/Core
diff options
context:
space:
mode:
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: