From d9742013dd19097084821ba3662daf0018b55676 Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Mon, 24 Jan 2011 10:58:17 +0000
Subject: WaE: gcc 4.6.0 various warnings

---
 io/source/stm/omark.cxx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 62b4c34c848b..a8317d3918a0 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -735,10 +735,8 @@ void OMarkableInputStream::skipBytes(sal_Int32 nBytesToSkip)
         );
 
     // this method is blocking
-    sal_Int32 nRead;
     Sequence<sal_Int8> seqDummy( nBytesToSkip );
-
-    nRead = readBytes( seqDummy , nBytesToSkip );
+    readBytes( seqDummy , nBytesToSkip );
 }
 
 sal_Int32 OMarkableInputStream::available(void) throw (NotConnectedException, RuntimeException)
-- 
cgit