GNOME Bugzilla – Bug 732793
Void function should not return a value
Last modified: 2014-07-06 12:05:10 UTC
Created attachment 279975 [details] [review] Fix "void function should not return a value" error for clang I get this error when compiling gnome-software: gs-shell.c:468:2: error: void function 'gs_shell_setup' should not return a value [-Wreturn-type] gs_shell_setup uses g_return_val_if_fail in src/gs-shell.c, and it should be changed to g_return_if_fail.
Review of attachment 279975 [details] [review]: Thanks for catching this! The patch looks good to me.
Pushed to master - https://git.gnome.org/browse/gnome-software/commit/?id=e1c17f18c54dc7a3fbc3195cc7d260ca4ecf4d4a