GNOME Bugzilla – Bug 706532
folks_small_set_copy() does not always return value
Last modified: 2013-08-22 05:51:49 UTC
The function folks_small_set_copy() only returns anything if the condition (G_OBJECT_TYPE (iterable) == FOLKS_TYPE_SMALL_SET) is met. In other cases, the function runs through without returning anything (not even NULL). The compiler complains about: [ 108s] small-set.c: In function 'folks_small_set_copy': [ 108s] small-set.c:420:1: warning: control reaches end of non-void function [-Wreturn-type] [ 108s] }
Created attachment 252663 [details] [review] Define a return value.
Review of attachment 252663 [details] [review]: Good catch. Please commit to master, and don’t forget to update the NEWS file in your commit. Thanks!
Comment on attachment 252663 [details] [review] Define a return value. Commited as bced3b8a8, incl NEWS entry for 0.9.5.