From be250948bc3e10b370244476debb7ee90d8d8703 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 Mar 2014 11:33:40 +0000 Subject: [PATCH] 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 02ec6dc71..1e5dab6ee 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