[Pkg-libvirt-commits] [libguestfs] 50/61: fish: Ignore return value from guestfs_user_cancel.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Mar 29 14:36:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit be250948bc3e10b370244476debb7ee90d8d8703
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Mar 27 11:33:40 2014 +0000
fish: Ignore return value from guestfs_user_cancel.
As we are in a signal handler, there's nothing else we can do.
Found by Coverity.
---
fish/fish.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fish/fish.c b/fish/fish.c
index 02ec6dc..1e5dab6 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -46,6 +46,7 @@
#include "c-ctype.h"
#include "closeout.h"
+#include "ignore-value.h"
/* Return from parse_command_line. See description below. */
struct parsed_command {
@@ -597,7 +598,7 @@ static void
user_cancel (int sig)
{
if (g)
- guestfs_user_cancel (g);
+ ignore_value (guestfs_user_cancel (g));
}
static void
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list