-rw-r--r-- | libkcal/event.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libkcal/event.cpp b/libkcal/event.cpp index 7256f05..de8dceb 100644 --- a/libkcal/event.cpp +++ b/libkcal/event.cpp @@ -91,3 +91,3 @@ bool Event::contains ( Event* from ) QString nCat; - int iii; + unsigned int iii; for ( iii = 0; iii < catFrom.count();++iii ) { @@ -122,4 +122,2 @@ QDateTime Event::dtEnd() const - kdDebug(5800) << "Warning! Event '" << summary() - << "' does have neither end date nor duration." << endl; return dtStart(); @@ -187,3 +185,3 @@ QDateTime Event::getNextAlarmDateTime( bool * ok, int * offset ) const Alarm* alarm; - int off; + int off = 0; QDateTime alarmStart = QDateTime::currentDateTime().addDays( 3650 );; |