diff OrthancServer/ParsedDicomFile.cpp @ 1616:644c32c07306

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2015 16:00:50 +0200
parents 96582230ddcb
children 4e56b5a206b7
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Wed Sep 16 15:18:59 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Wed Sep 16 16:00:50 2015 +0200
@@ -272,7 +272,8 @@
                        E_TransferSyntax transferSyntax) :
         element_(element),
         length_(element.getLength(transferSyntax)),
-        offset_(0)
+        offset_(0),
+        chunkSize_(0)
       {
         static const size_t CHUNK_SIZE = 64 * 1024;  // Use chunks of max 64KB
         chunk_.resize(CHUNK_SIZE);