src/lib/CDRInternalStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6f5b8e2ca95aac2fe8215557514cb2cdc923fe5f Author: Julien Nabet <[email protected]> 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 { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
