summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/objectvalidation.cpp14
-rw-r--r--tztable.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/objectvalidation.cpp b/src/objectvalidation.cpp
index 8ea0a04..cd3a104 100644
--- a/src/objectvalidation.cpp
+++ b/src/objectvalidation.cpp
@@ -31,7 +31,7 @@ namespace Kolab {
static boost::unordered_set<std::string> initializeTzSet() {
boost::unordered_set<std::string> set;
- for (int i = 0; i < numOlsonTimezones; i++) {
+ for (unsigned int i = 0; i < numOlsonTimezones; i++) {
set.insert(olsonTimezones[i]);
}
return set;
@@ -110,32 +110,32 @@ void validate(const Journal& journal)
ASSERTVALID(journal.start());
}
-void validate(const Contact& contact)
+void validate(const Contact& /* contact */)
{
}
-void validate(const DistList& distlist)
+void validate(const DistList& /* distlist */)
{
}
-void validate(const Freebusy& freebusy)
+void validate(const Freebusy& /* freebusy */)
{
}
-void validate(const Note& note)
+void validate(const Note& /* note */)
{
}
-void validate(const Configuration& configuration)
+void validate(const Configuration& /* configuration */)
{
}
-void validate(const File& file)
+void validate(const File& /* file */)
{
}
diff --git a/tztable.h b/tztable.h
index f59eb1a..2b788c9 100644
--- a/tztable.h
+++ b/tztable.h
@@ -420,5 +420,5 @@ static const char* olsonTimezones[] = {
"Africa/Harare"
};
-static const int numOlsonTimezones = sizeof olsonTimezones / sizeof *olsonTimezones;
+static const long unsigned int numOlsonTimezones = sizeof olsonTimezones / sizeof *olsonTimezones;