mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user