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.
This commit is contained in:
Richard W.M. Jones
2014-03-27 11:33:40 +00:00
parent 4099880643
commit be250948bc

View File

@@ -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