GNOME Bugzilla – Bug 727530
Void function should not return a value
Last modified: 2014-04-23 08:29:09 UTC
Created attachment 273510 [details] [review] Fix "void function should not return a value" error for clang I get this error when compiling libgweather: gweather-location.c:767:5: error: void function 'gweather_location_detect_nearest_city' should not return a value [-Wreturn-type] gweather_location_detect_nearest_city uses g_return_val_if_fail in libgweather/gweather-location.c, and it should be changed to g_return_if_fail.
Comment on attachment 273510 [details] [review] Fix "void function should not return a value" error for clang looks good
Pushed to master - https://git.gnome.org/browse/libgweather/commit/?id=770a163dcfdeb9e7a388d20f10a8dac69bb5c9e1
*** Bug 728037 has been marked as a duplicate of this bug. ***