[Libreoffice-commits] .: 2 commits - bridges/source io/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 18 12:58:38 PST 2011


 bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx |   10 ----------
 io/source/stm/opipe.cxx                          |   13 -------------
 2 files changed, 23 deletions(-)

New commits:
commit 61e3e21ea1950442daa47fc47ce2d67456c85957
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 18 20:50:25 2011 +0000

    unused struct

diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
index 57e1359..8fd8675 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
@@ -67,16 +67,6 @@
 
 using namespace x86_64;
 
-typedef struct
-{
-    /* Registers for argument passing.  */
-    long gpr[MAX_GPR_REGS];
-    __int128_t sse[MAX_SSE_REGS];
-
-    /* Stack space for arguments.  */
-    char argspace[0];
-} stackLayout;
-
 /* Register class used for passing given 64bit part of the argument.
    These represent classes as documented by the PS ABI, with the exception
    of SSESF, SSEDF classes, that are basically SSE class, just gcc will
commit dd808a6ab289bc7daaef25d296216efa48aeec3c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 18 20:47:22 2011 +0000

    method is empty

diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index 9072dfd..fab1696 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -120,9 +120,6 @@ public: // XServiceInfo
 
 private:
 
-    // DEBUG
-    inline void checkInvariant();
-
     Reference < XConnectable > 	m_succ;
     Reference < XConnectable > 	m_pred;
 
@@ -160,12 +157,6 @@ OPipeImpl::~OPipeImpl()
 }
 
 
-// These invariants must hold when entering a guarded method or leaving a guarded method.
-void OPipeImpl::checkInvariant()
-{
-
-}
-
 sal_Int32 OPipeImpl::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)
     throw( NotConnectedException, BufferSizeExceededException,RuntimeException )
 {
@@ -278,7 +269,6 @@ sal_Int32 OPipeImpl::available(void)
             OUString( RTL_CONSTASCII_USTRINGPARAM( "Pipe::available NotConnectedException" ) ),
             *this );
     }
-    checkInvariant();
     return m_pFIFO->getSize();
 }
 
@@ -307,7 +297,6 @@ void OPipeImpl::writeBytes(const Sequence< sal_Int8 >& aData)
            RuntimeException)
 {
     MutexGuard guard( m_mutexAccess );
-    checkInvariant();
 
     if( m_bOutputStreamClosed )
     {
@@ -362,8 +351,6 @@ void OPipeImpl::writeBytes(const Sequence< sal_Int8 >& aData)
 
     // readBytes may check again if enough bytes are available
     osl_setCondition( m_conditionBytesAvail );
-
-    checkInvariant();
 }
 
 


More information about the Libreoffice-commits mailing list