From 690c8559602524a2dd506516eb119fd5063d2c83 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Tue, 11 Nov 2014 13:36:31 +0530 Subject: log: unchecked return value from library fix 1237557 Unchecked return value from library Signed-off-by: Anthony G. Basile --- src/shared/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/shared/log.c b/src/shared/log.c index af6a983087..d19103a1e2 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -118,7 +118,7 @@ static int create_log_socket(int type) { timeval_store(&tv, 10 * USEC_PER_MSEC); else timeval_store(&tv, 10 * USEC_PER_SEC); - setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); + (void)setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); return fd; } -- cgit v1.2.3-54-g00ecf