coverity#982159 silence Unchecked return value from library
Change-Id: I92ff023ea2a8503d7c4799921c644aa011685ae2
This commit is contained in:
@@ -370,7 +370,7 @@ connect_pipe( rtl_uString *pPipePath )
|
||||
if ( ( fd = socket( AF_UNIX, SOCK_STREAM, 0 ) ) < 0 )
|
||||
return fd;
|
||||
|
||||
fcntl( fd, F_SETFD, FD_CLOEXEC );
|
||||
(void)fcntl( fd, F_SETFD, FD_CLOEXEC );
|
||||
|
||||
addr.sun_family = AF_UNIX;
|
||||
strncpy( addr.sun_path, rtl_string_getStr( pPipeStr ), sizeof( addr.sun_path ) - 1 );
|
||||
|
Reference in New Issue
Block a user