I: Program returns random data in a function E: libguestfs no-return-in-nonvoid-function guestmount.c:75
The function fuse_opt_add_opt_escaped has only one caller and a return code is not checked. Signed-off-by: Olaf Hering <o...@aepfle.de> --- diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 17e94ba..1eb0553 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -49,7 +49,7 @@ static int write_pid_file (const char *pid_file, pid_t pid); * Copyright (C) 2001-2007 Miklos Szeredi <mik...@szeredi.hu> * This [function] can be distributed under the terms of the GNU LGPLv2. */ -static int +static void fuse_opt_add_opt_escaped (char **opts, const char *opt) { unsigned oldlen = *opts ? strlen(*opts) : 0; -- 1.7.11.5 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs