Kaydet (Commit) 75a23240 authored tarafından Miklos Vajna's avatar Miklos Vajna

-Werror=unused-result

Change-Id: Idf10a5cb70176c24d609f70ec01c1630ab1dad37
üst e189c613
......@@ -190,10 +190,11 @@ OString MyWin::processCommand( const OString& rCommand )
}
else
{
write( nSocket, rCommand.getStr(), rCommand.getLength() );
write( nSocket, "\n", 1 );
char buf[256];
ssize_t nBytes = 0;
nBytes = write( nSocket, rCommand.getStr(), rCommand.getLength() );
nBytes = write( nSocket, "\n", 1 );
nBytes = 0;
char buf[256];
do
{
nBytes = read( nSocket, buf, sizeof(buf) );
......
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