GNOME Bugzilla – Bug 682283
gvfs 1.13.7: E: gvfs no-return-in-nonvoid-function
Last modified: 2012-08-20 18:38:40 UTC
While building gvfs 1.13.7 in OBS, some compiler warnings are raised to errors (undefined behavior of code): I: Program returns random data in a function E: gvfs no-return-in-nonvoid-function gvfsafpconnection.c:1940 I: Program returns random data in a function E: gvfs no-return-in-nonvoid-function gvfsafpconnection.c:1940 The function in question is: guint32 g_vfs_afp_connection_get_max_request_size (GVfsAfpConnection *afp_connection) { g_return_val_if_fail (G_VFS_IS_AFP_CONNECTION (afp_connection), 0); } => so if no fail, no return
Fixed by http://git.gnome.org/browse/gvfs/commit/?id=9961654b7f24c0d6349946c9c79b62a770aafee2
Confirmed.. issue is solved with this commit (built package successfully now) Thanks for the very quick response!