Kaydet (Commit) e7d9a137 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982159 silence Unchecked return value from library

Change-Id: I92ff023ea2a8503d7c4799921c644aa011685ae2
üst 3130f06b
...@@ -370,7 +370,7 @@ connect_pipe( rtl_uString *pPipePath ) ...@@ -370,7 +370,7 @@ connect_pipe( rtl_uString *pPipePath )
if ( ( fd = socket( AF_UNIX, SOCK_STREAM, 0 ) ) < 0 ) if ( ( fd = socket( AF_UNIX, SOCK_STREAM, 0 ) ) < 0 )
return fd; return fd;
fcntl( fd, F_SETFD, FD_CLOEXEC ); (void)fcntl( fd, F_SETFD, FD_CLOEXEC );
addr.sun_family = AF_UNIX; addr.sun_family = AF_UNIX;
strncpy( addr.sun_path, rtl_string_getStr( pPipeStr ), sizeof( addr.sun_path ) - 1 ); strncpy( addr.sun_path, rtl_string_getStr( pPipeStr ), sizeof( addr.sun_path ) - 1 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment