File no-return-in-nonvoid-function.patch of Package chinese-calendar
Index: chinese-calendar/ccbo.cpp
===================================================================
--- chinese-calendar.orig/ccbo.cpp
+++ chinese-calendar/ccbo.cpp
@@ -288,6 +288,8 @@ int CCBO::ctcl_savenote(int y,int m, in
UpdateStr=QString("UPDATE cnote SET note = '%4' where y=%1 and m=%2 and d=%3").arg(y).arg(m).arg(d).arg(textedit);
ctcl_common_query("cnote",UpdateStr);
}
+
+ return 0;
}
int CCBO::ctcl_solar_to_lunar(int y,int m,int d,struct CCalendar* ctc)
Index: chinese-calendar/dateitem.cpp
===================================================================
--- chinese-calendar.orig/dateitem.cpp
+++ chinese-calendar/dateitem.cpp
@@ -78,6 +78,8 @@ bool DateItem::eventFilter(QObject *o, Q
return QObject::eventFilter(o,ev);
}
}
+
+ return true;
}
void DateItem::resizeItem(int x, int y)