summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-04-30 22:27:24 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-04-30 22:27:24 +0200
commit8749144c14e613ec96c50c5a305d92987f4c9a11 (patch)
tree4750f45d9aac49bfc62d4acb301d427bc8ccaa46 /sal
parentaec1967ff589f3076d128521b6cb934bd363aad7 (diff)
Simple warnings corrected
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_misc.cxx1
-rw-r--r--sal/osl/unx/profile.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index 3134b2a82902..e1da32a0aa25 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 de8af04775a1..9b9da3da472a 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>