[Libreoffice-commits] .: sal/osl

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Apr 30 13:28:10 PDT 2011


 sal/osl/unx/file_misc.cxx |    1 -
 sal/osl/unx/profile.c     |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f3064ba1b2bf83a5d45c9cb5471cd97c1a4069e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Apr 30 22:27:24 2011 +0200

    Simple warnings corrected

diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index 51691d5..319971b 100644
--- a/sal/osl/unx/file_misc.cxx
+++ b/sal/osl/unx/file_misc.cxx
@@ -1017,7 +1017,6 @@ static int oslDoCopyFile(const sal_Char* pszSourceFileName, const sal_Char* pszD
     {	
         /* mmap has problems, try the direct streaming */
         char pBuffer[0x7FFF];
-        size_t nRead = 0;
 
         do
         {
diff --git a/sal/osl/unx/profile.c b/sal/osl/unx/profile.c
index f6bdd40..3e1a314 100644
--- a/sal/osl/unx/profile.c
+++ b/sal/osl/unx/profile.c
@@ -28,6 +28,7 @@
 
 
 #include "system.h"
+#include "readwrite_helper.h"
 
 #include <osl/diagnose.h>
 #include <osl/profile.h>


More information about the Libreoffice-commits mailing list