GNOME Bugzilla – Bug 239170
void function should not has a 'return' keyword
Last modified: 2013-09-10 13:55:47 UTC
Evolution has some void funtion but with a return at the end of the function. Forte will error on this condition. The list of refering files: ~/evolution/camel/camel-index.c ~/evolution/camel/camel-session.c ~/evolution/camel/camel-store-summary.c ~/evolution/filter/filter-element.c ~/evolution/filter/filter-editor.c ~/evolution/addressbook/backend/pas/pas-backend.c How often does this happen? Always. Additional Information: We will add a patch which delete the unuseful 'return' of these function soon.
mailer parts are already fixed in CVS
~/evolution/camel/camel-index.c ~/evolution/camel/camel-session.c ~/evolution/camel/camel-store-summary.c ~/evolution/filter/filter-element.c ~/evolution/filter/filter-editor.c have worked well. ~/evolution/addressbook/backend/pas/pas-backend.c still have a dozen of lines of same question exests. While the newly added file ~/filter/rule-editor.c has two same questions.
Created attachment 42101 [details] [review] patch for the addressbook part (not full to fix this bug, but most neccessary)
Philip: please submit the patch to evolution-patches list
Philip, have you sent the patch to evolution-patches@ximian.com?
Created attachment 42148 [details] [review] another patch for filter/rule-editor.c
Philip, please merge these two patches into one file and send it to evolution-patches@ximian.com.
Created attachment 42149 [details] [review] patch to this bug(merge of the pre-two)
File ~/evolution/addressbook/backend/pas/pas-backend.c still has this issue. There're 12 positions in this file. (Mar 25 trunk)
commited fix for the addressbook portion. closing this.