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
commitd9742013dd19097084821ba3662daf0018b55676 (patch)
tree825d8b9810fbf89752c3be6bf94d89e9c7305c20 /io
parent8c2cd1675f3308e3f542ededb1f3aad26d5b1f69 (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 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)