coverity#982159 silence Unchecked return value from library

Change-Id: I92ff023ea2a8503d7c4799921c644aa011685ae2
This commit is contained in:
Caolán McNamara
2014-10-27 20:58:31 +00:00
parent 3130f06bb5
commit e7d9a137ca

View File

@@ -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 );