[glib: 9/19] gsocket: Add ignorant of an fcntl return value
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 9/19] gsocket: Add ignorant of an fcntl return value
- Date: Mon, 18 Oct 2021 11:03:35 +0000 (UTC)
commit 328bd316313e6d06412c312fbfa647796490e692
Author: Egor Bychin <e bychin drweb com>
Date: Mon Oct 11 14:04:57 2021 +0300
gsocket: Add ignorant of an fcntl return value
gio/gsocket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gsocket.c b/gio/gsocket.c
index d5603c538..d13e2cab7 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -621,7 +621,7 @@ g_socket (gint domain,
(flags & FD_CLOEXEC) == 0)
{
flags |= FD_CLOEXEC;
- fcntl (fd, F_SETFD, flags);
+ (void) fcntl (fd, F_SETFD, flags);
}
}
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]