[Libreoffice-commits] .: 3 commits - idl/inc idl/source io/source sal/osl
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Wed Aug 15 05:01:30 PDT 2012
idl/inc/database.hxx | 2 --
idl/source/prj/database.cxx | 1 -
io/source/stm/opipe.cxx | 2 --
sal/osl/unx/signal.c | 6 +++---
4 files changed, 3 insertions(+), 8 deletions(-)
New commits:
commit f25b78bd99a1eb0d81ce9993f514d0a625aaa776
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Aug 15 13:59:20 2012 +0200
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I9828862ea90a45848b3e8d21ec3ee960ce7c9015
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index 490a9a5..32c3c53 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -114,8 +114,6 @@ private:
sal_Int32 m_nBytesToSkip;
- sal_Int8 *m_p;
-
sal_Bool m_bOutputStreamClosed;
sal_Bool m_bInputStreamClosed;
commit 353465ba86c90bc3c788d823259cd6a3c94e239e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Aug 15 13:31:21 2012 +0200
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I6fc91959f024b9a1f9e8633af8e16048752f6bdc
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 7ce2175..8c314d2 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -60,8 +60,6 @@ class SvIdlDataBase
sal_uInt32 nUniqueId;
sal_uInt32 nVerbosity;
String aDataBaseFile;
- SvFileStream * pStm;
- sal_Bool bIsModified;
SvPersistStream aPersStream;
StringList aIdFileList;
SvStringHashTable * pIdTable;
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index b68862a..ff6365e 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -31,7 +31,6 @@ SvIdlDataBase::SvIdlDataBase( const SvCommand& rCmd )
: bExport( sal_False )
, nUniqueId( 0 )
, nVerbosity( rCmd.nVerbosity )
- , bIsModified( sal_False )
, aPersStream( *IDLAPP->pClassMgr, NULL )
, pIdTable( NULL )
{
commit 2ee7681013c9a557eb4e69f60686453b197c1a0c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Aug 15 13:12:50 2012 +0200
-Werror,-Wstrncat-size (Clang towards 3.2)
Change-Id: Ifdf0c47b38621835d6c6fa3a180d78f3f14edabf
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index f3a5f8a..1f5c759 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -593,13 +593,13 @@ static int ReportCrash( int Signal )
int fdxml, fdstk, fdchksum;
strncpy( szXMLTempNameBuffer, P_tmpdir, sizeof(szXMLTempNameBuffer) );
- strncat( szXMLTempNameBuffer, "/crxmlXXXXXX", sizeof(szXMLTempNameBuffer) );
+ strncat( szXMLTempNameBuffer, "/crxmlXXXXXX", sizeof(szXMLTempNameBuffer) - strlen(szXMLTempNameBuffer) - 1 );
strncpy( szStackTempNameBuffer, P_tmpdir, sizeof(szStackTempNameBuffer) );
- strncat( szStackTempNameBuffer, "/crstkXXXXXX", sizeof(szStackTempNameBuffer) );
+ strncat( szStackTempNameBuffer, "/crstkXXXXXX", sizeof(szStackTempNameBuffer) - strlen(szStackTempNameBuffer) - 1 );
strncpy( szChecksumTempNameBuffer, P_tmpdir, sizeof(szChecksumTempNameBuffer) );
- strncat( szChecksumTempNameBuffer, "/crchkXXXXXX", sizeof(szChecksumTempNameBuffer) );
+ strncat( szChecksumTempNameBuffer, "/crchkXXXXXX", sizeof(szChecksumTempNameBuffer) - strlen(szChecksumTempNameBuffer) - 1 );
fdxml = mkstemp(szXMLTempNameBuffer);
fdstk = mkstemp(szStackTempNameBuffer);
More information about the Libreoffice-commits
mailing list