[Libreoffice-commits] libcdr.git: src/lib
Julien Nabet
serval2412 at yahoo.fr
Sat Jul 27 00:59:07 PDT 2013
src/lib/CDRInternalStream.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6f5b8e2ca95aac2fe8215557514cb2cdc923fe5f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jul 27 09:58:42 2013 +0200
cppcheck: reduce scope of have
diff --git a/src/lib/CDRInternalStream.cpp b/src/lib/CDRInternalStream.cpp
index 9dac80f..83ae298 100644
--- a/src/lib/CDRInternalStream.cpp
+++ b/src/lib/CDRInternalStream.cpp
@@ -66,7 +66,6 @@ libcdr::CDRInternalStream::CDRInternalStream(WPXInputStream *input, unsigned lon
else
{
int ret;
- unsigned have;
z_stream strm;
unsigned char out[CHUNK];
@@ -88,6 +87,7 @@ libcdr::CDRInternalStream::CDRInternalStream(WPXInputStream *input, unsigned lon
strm.avail_in = (uInt)tmpNumBytesRead;
strm.next_in = (Bytef *)tmpBuffer;
+ unsigned have;
do
{
More information about the Libreoffice-commits
mailing list