summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-24 10:58:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 10:58:17 +0000
commit35a81f22d4b179a06bfc83579596fb282b68411d (patch)
tree8f327b73889735113a154797a9d4b0582d2f2d68 /io
parentf4327314528d794447f3107b37b4adfea8ed1cc6 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/omark.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 274084469..4a3912c87 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)