[glib/glib-2-70: 8/18] gsocket: Add ignorant of an fcntl return value
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-70: 8/18] gsocket: Add ignorant of an fcntl return value
- Date: Tue, 19 Oct 2021 06:21:25 +0000 (UTC)
commit 567fae6e0b29594842cf7eab16b1a782d374fd04
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]