summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index f9e2bb16174e..eef77e998380 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -802,7 +802,6 @@ namespace osl_StreamPipe
void SAL_CALL run( ) override
{
//create pipe.
- sal_Int32 nChars;
printf("listen\n");
if ( !aListenPipe.is() )
{
@@ -819,7 +818,7 @@ namespace osl_StreamPipe
}
printf("write\n");
// write to pipe
- nChars = aConnectionPipe.write( m_pTestString1.getStr(), m_pTestString1.getLength() + 1 );
+ sal_Int32 nChars = aConnectionPipe.write( m_pTestString1.getStr(), m_pTestString1.getLength() + 1 );
if ( nChars < 0)
{
printf("server write failed! \n");