summaryrefslogtreecommitdiffstats
path: root/sal/osl/w32/pipe.c
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /sal/osl/w32/pipe.c
parentimport the document properties before the document (diff)
downloadcore-ba233e87efddf0a6751b35784dca1c805364ff3b.tar.gz
core-ba233e87efddf0a6751b35784dca1c805364ff3b.zip
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'sal/osl/w32/pipe.c')
-rw-r--r--sal/osl/w32/pipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/w32/pipe.c b/sal/osl/w32/pipe.c
index 40fdde642c98..bbcdf098e4b4 100644
--- a/sal/osl/w32/pipe.c
+++ b/sal/osl/w32/pipe.c
@@ -234,7 +234,7 @@ oslPipe SAL_CALL osl_createPipe(rtl_uString *strPipeName, oslPipeOptions Options
rtl_uString_release( name );
rtl_uString_release( path );
- return (pPipe);
+ return pPipe;
}
else
{
@@ -401,7 +401,7 @@ sal_Int32 SAL_CALL osl_receivePipe(oslPipe pPipe,
}
}
- return (nBytes);
+ return nBytes;
}
/*****************************************************************************/
@@ -432,7 +432,7 @@ sal_Int32 SAL_CALL osl_sendPipe(oslPipe pPipe,
pPipe->m_Error = osl_Pipe_E_ConnectionAbort;
}
- return (nBytes);
+ return nBytes;
}
sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 n )
@@ -502,7 +502,7 @@ oslPipeError SAL_CALL osl_getLastPipeError(oslPipe pPipe)
else
Error = osl_Pipe_E_NotFound;
- return (Error);
+ return Error;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */