diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-02-27 13:50:09 (GMT) |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-02-27 13:50:09 (GMT) |
commit | 8d558ddfb088f817773d0aa214d047bbbf8fcede (patch) | |
tree | b0b0b288a12089d91cedcdf2cd77b9196d598a51 | |
parent | 21e14ad482ed1de9f8e8b8419562bd82d7f8d6b8 (diff) | |
download | libkolabxml-8d558ddfb088f817773d0aa214d047bbbf8fcede.tar.gz |
Fixed warnings.
-rw-r--r-- | src/objectvalidation.cpp | 14 | ||||
-rw-r--r-- | tztable.h | 2 |
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 */) { } @@ -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; |