diff OrthancFramework/Sources/HttpServer/HttpOutput.cpp @ 4201:2d5209153b32

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 08:18:28 +0200
parents bf7b9edf6b81
children db3932f9660d
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpOutput.cpp	Wed Sep 16 20:53:31 2020 +0200
+++ b/OrthancFramework/Sources/HttpServer/HttpOutput.cpp	Thu Sep 17 08:18:28 2020 +0200
@@ -51,6 +51,7 @@
     state_(State_WritingHeader),
     status_(HttpStatus_200_Ok),
     hasContentLength_(false),
+    contentLength_(0),
     contentPosition_(0),
     keepAlive_(isKeepAlive)
   {